1. Post #161
    tgp1994's Avatar
    August 2008
    1,407 Posts
    Weird... I have it on my server and everything is working fine...
    You sure you didn't change anything else :\

    I'm sure things can get forgotten easily when trying to find a tiny hidden issue somewhere.
    Reply With Quote Edit / Delete United States Show Events

  2. Post #162
    Gold Member
    Crap-Head's Avatar
    May 2010
    409 Posts
    Just checkout revision 61.
    Putting it back now. Il edit my post with the results.

    EDIT:
    Amazing it works!

    Alright so for the people who does not know how to put back your SVN here is a little guide:
    1. Right click your folder.
    2. Press TortoiseSVN and then press Update to revision.
    3. You will have a window appearing and you simply time in 61.

    It will delete the folder items and it will update some files aka downgrading them.
    Reply With Quote Edit / Delete Denmark Show Events

  3. Post #163
    Gold Member
    .\\Shadow}'s Avatar
    November 2009
    892 Posts
    My server has a working rev 71 :buddy:
    Reply With Quote Edit / Delete United States Show Events

  4. Post #164
    tgp1994's Avatar
    August 2008
    1,407 Posts
    My server has a working rev 71 :buddy:
    Did you edit anything? Contributions are nice :)
    Reply With Quote Edit / Delete United States Show Events

  5. Post #165
    Gold Member
    .\\Shadow}'s Avatar
    November 2009
    892 Posts
    Did you edit anything? Contributions are nice :)
    Actually Trivkz edited it

    Edited:

    He has enough to work on, don't bother him about it ;3
    Reply With Quote Edit / Delete United States Show Events Agree Agree x 1 (list)

  6. Post #166
    Gold Member
    Crap-Head's Avatar
    May 2010
    409 Posts
    Actually Trivkz edited it

    Edited:

    He has enough to work on, don't bother him about it ;3
    You probably are gonna keep it for yourself :/ But could you possible upload so _Undefined can update the SVN? Just keep out your custom stuff if you dont want people to have your custom codes/items. Please?
    Reply With Quote Edit / Delete Denmark Show Events

  7. Post #167
    Gold Member

    April 2009
    726 Posts
    You probably are gonna keep it for yourself :/ But could you possible upload so _Undefined can update the SVN? Just keep out your custom stuff if you dont want people to have your custom codes/items. Please?
    The fix have already been posted.
    Reply With Quote Edit / Delete Denmark Show Events

  8. Post #168
    tgp1994's Avatar
    August 2008
    1,407 Posts
    The fix have already been posted.
    In the SVN?
    Reply With Quote Edit / Delete United States Show Events

  9. Post #169
    Gold Member
    knutmora's Avatar
    November 2007
    3,084 Posts
    Does it work online yet?
    Reply With Quote Edit / Delete Norway Show Events Dumb Dumb x 3 (list)

  10. Post #170
    Jaastin's Avatar
    September 2010
    440 Posts
    Im using 71, and it works to a certain extent. Hat's won't appear and stuff, armor doesn't come back when I die, which I'd like.

    I just have perm. items.
    Reply With Quote Edit / Delete Canada Show Events

  11. Post #171
    tgp1994's Avatar
    August 2008
    1,407 Posts
    Im using 71, and it works to a certain extent. Hat's won't appear and stuff, armor doesn't come back when I die, which I'd like.

    I just have perm. items.
    Fortunately, that just sounds like stuff that needs to be implemented, rather than flat out bugs.
    Reply With Quote Edit / Delete United States Show Events

  12. Post #172
    Jaastin's Avatar
    September 2010
    440 Posts
    Oh, sounds good. This addon has lots of potential, I'll love to use this on my server. :)
    Reply With Quote Edit / Delete Canada Show Events

  13. Post #173
    Gold Member
    Crap-Head's Avatar
    May 2010
    409 Posts
    Oh, sounds good. This addon has lots of potential, I'll love to use this on my server. :)
    If you want it to work just put it back to rev 61. Im having rev 61 which works. The only thing is a few bugs (Which ive alredy fixed) and that your items is all in one table not in difrently files. Also the bug appears when you type ps_xcommand 1000. So when you forget to name the player the bug appears so its nothing big.
    Reply With Quote Edit / Delete Denmark Show Events

  14. Post #174
    Gold Member
    Siemz's Avatar
    August 2010
    1,750 Posts
    i ♥ it !
    Reply With Quote Edit / Delete Netherlands Show Events

  15. Post #175
    Gold Member
    BomBom's Avatar
    April 2005
    260 Posts
    This seems pretty good, the svn doesn't seem to be accepting any login though.
    Reply With Quote Edit / Delete United Kingdom Show Events

  16. Post #176
    CoderHire
    _Undefined's Avatar
    November 2007
    1,466 Posts
    This seems pretty good, the svn doesn't seem to be accepting any login though.
    It doesn't need a login to download?
    Reply With Quote Edit / Delete United Kingdom Show Events

  17. Post #177
    Jaastin's Avatar
    September 2010
    440 Posts
    Before you go on, the most basic basic thing that you forgot.

    Sell confirmation.

    Do you want to sell ""?

    Would've been the best idea.
    Reply With Quote Edit / Delete Canada Show Events

  18. Post #178
    CoderHire
    _Undefined's Avatar
    November 2007
    1,466 Posts
    Icon.DoClick = function()
    	local menu = DermaMenu()
    	menu:AddOption("Sell", function()
    		RunConsoleCommand("pointshop_sell", item_id)
    	end)
    	if item.Respawnable then
    		menu:AddOption("Respawn", function()
    			RunConsoleCommand("pointshop_respawn", item_id)
    		end)
    	end
    	menu:Open()
    end
    
    

    Edited:

    It's better than nothing.
    Reply With Quote Edit / Delete United Kingdom Show Events Useful Useful x 1 (list)

  19. Post #179

    January 2010
    850 Posts
    for some reason, hats simply dont work at all. im running a server that uses the fretta gamemodes deathrun, surf, and prop hunt, anyone know what causes it? you can buy the hats and everything works fine, they just simply fail to spawn.
    Reply With Quote Edit / Delete United States Show Events

  20. Post #180

    January 2010
    850 Posts
    -snip-
    Reply With Quote Edit / Delete United States Show Events

  21. Post #181
    CoderHire
    _Undefined's Avatar
    November 2007
    1,466 Posts


    All fixed! :)
    Reply With Quote Edit / Delete United Kingdom Show Events Friendly Friendly x 2Useful Useful x 1 (list)

  22. Post #182
    Gold Member
    Siemz's Avatar
    August 2010
    1,750 Posts
    In the config of the shop i see this :

    POINTSHOP.Config.PlayerDeath = true -- Give Points when a player is killed by a player?
    POINTSHOP.Config.PlayerDeathAmount = 150 -- Amount to give for killing a player.

    but when players kill death ( in deathrun ) they dont get any points :p
    Reply With Quote Edit / Delete Netherlands Show Events

  23. Post #183
    Title

    August 2009
    300 Posts
    In the config of the shop i see this :

    POINTSHOP.Config.PlayerDeath = true -- Give Points when a player is killed by a player?
    POINTSHOP.Config.PlayerDeathAmount = 150 -- Amount to give for killing a player.

    but when players kill death ( in deathrun ) they dont get any points :p
    Same problem, there is also one with trails where when you die and spawn next round you don't get your trail yet it's still in your inventory. You only get it first round of any map.
    Reply With Quote Edit / Delete United Kingdom Show Events

  24. Post #184
    CoderHire
    _Undefined's Avatar
    November 2007
    1,466 Posts
    I'll have a look.
    Reply With Quote Edit / Delete United Kingdom Show Events Agree Agree x 1Friendly Friendly x 1 (list)

  25. Post #185
    werewolf0020's Avatar
    October 2009
    5,683 Posts
    can i use this on my gamemode and if i can how should i add it to it? i mean i can start it as addon on gmod but i want to start it togeter with my gamemode
    Reply With Quote Edit / Delete Venezuela Show Events

  26. Post #186
    Gold Member
    Crap-Head's Avatar
    May 2010
    409 Posts
    can i use this on my gamemode and if i can how should i add it to it? i mean i can start it as addon on gmod but i want to start it togeter with my gamemode
    Of curse you can. Just have it in your addons folder and use the hooks from PS in your gamemode. Im doing this atm. Ive made my custom menu which uses the points from the PS.
    Reply With Quote Edit / Delete Denmark Show Events

  27. Post #187
    werewolf0020's Avatar
    October 2009
    5,683 Posts
    sorry Crap-head but how i can use the hooks from PS on my gamemode? im still new in lua but im pro at unreal script
    Reply With Quote Edit / Delete Venezuela Show Events Optimistic Optimistic x 1 (list)

  28. Post #188
    Gold Member
    Crap-Head's Avatar
    May 2010
    409 Posts
    sorry Crap-head but how i can use the hooks from PS on my gamemode? im still new in lua but im pro at unreal script
    Lets say you have a menu with a button. Then when you Press the button you simply make it do PS_GivePoints(10) (which is a PS hook). So on your do function you insert that.
    Reply With Quote Edit / Delete Denmark Show Events

  29. Post #189
    werewolf0020's Avatar
    October 2009
    5,683 Posts
    well thanks for the help but this isnt going to help me too much since today my gamemode decided to stop of working

    if you think you can help me heres my code


    AddCSLuaFile("cl_init.lua")
    AddCSLuaFile("shared.lua")

    include('shared.lua')


    resource.AddFile("models/weapons/w_rif_scar.mdl")
    resource.AddFile("models/weapons/w_rif_scar.vvd")
    resource.AddFile("models/weapons/w_rif_scar.sw")
    resource.AddFile("models/weapons/w_rif_scar.phy")
    resource.AddFile("models/weapons/w_rif_scar.dx90")
    resource.AddFile("models/weapons/w_rif_g36c.vvd")
    resource.AddFile("models/weapons/w_rif_g36c.sw")
    resource.AddFile("models/weapons/w_rif_g36c.phy")
    resource.AddFile("models/weapons/w_rif_g36c.mdl")
    resource.AddFile("models/weapons/w_rif_g36c.dx90")


    function GM:PlayerSpawn( pl )

    self.BaseClass:PlayerSpawn( pl )
    ply:SetGravity( 0, 3 )
    ply:SetMaxHealth( 125, true )
    ply:SetWalkSpeed( 100 )
    ply:SetRunSpeed( 400 )
    end

    function GM:PlayerLoadout( pl )

    pl:StripWeapons()
    pl:Give("weapon_scar")
    pl:SelectWeapon("weapon_scar")
    end

    function GM:PlayerInitialSpawn( pl )

    self.BaseClass:PlayerInitialSpawn( pl )
    if ply:IsAdmin() then
    ply:PrintMessage( HUD_PRINTTALK, "MyGamemode:oh hai there little person" )
    end

    end


    PD: how i use LUA tags?
    Reply With Quote Edit / Delete Venezuela Show Events Dumb Dumb x 1 (list)

  30. Post #190
    decyg's Avatar
    September 2009
    925 Posts
    So many errors :(
    Indenting helps too.
    ply doesn't mean pl.
    Reply With Quote Edit / Delete United Kingdom Show Events

  31. Post #191
    Gold Member
    Cyberuben's Avatar
    April 2009
    2,258 Posts
    well thanks for the help but this isnt going to help me too much since today my gamemode decided to stop of working

    if you think you can help me heres my code


    AddCSLuaFile("cl_init.lua")
    AddCSLuaFile("shared.lua")

    include('shared.lua')


    resource.AddFile("models/weapons/w_rif_scar.mdl")
    resource.AddFile("models/weapons/w_rif_scar.vvd")
    resource.AddFile("models/weapons/w_rif_scar.sw")
    resource.AddFile("models/weapons/w_rif_scar.phy")
    resource.AddFile("models/weapons/w_rif_scar.dx90")
    resource.AddFile("models/weapons/w_rif_g36c.vvd")
    resource.AddFile("models/weapons/w_rif_g36c.sw")
    resource.AddFile("models/weapons/w_rif_g36c.phy")
    resource.AddFile("models/weapons/w_rif_g36c.mdl")
    resource.AddFile("models/weapons/w_rif_g36c.dx90")


    function GM:PlayerSpawn( pl )

    self.BaseClass:PlayerSpawn( pl )
    ply:SetGravity( 0, 3 )
    ply:SetMaxHealth( 125, true )
    ply:SetWalkSpeed( 100 )
    ply:SetRunSpeed( 400 )
    end

    function GM:PlayerLoadout( pl )

    pl:StripWeapons()
    pl:Give("weapon_scar")
    pl:SelectWeapon("weapon_scar")
    end

    function GM:PlayerInitialSpawn( pl )

    self.BaseClass:PlayerInitialSpawn( pl )
    if ply:IsAdmin() then
    ply:PrintMessage( HUD_PRINTTALK, "MyGamemode:oh hai there little person" )
    end

    end


    PD: how i use LUA tags?
    How about [*lua] [/lua] without the *?
    Reply With Quote Edit / Delete Netherlands Show Events

  32. Post #192
    thepanda's Avatar
    January 2011
    62 Posts
    Okay, i might be an extremly bad reader, or just a noob.
    But how do you get points? over time, by killing or ?

    Thanks in advance
    Reply With Quote Edit / Delete Denmark Show Events

  33. Post #193
    werewolf0020's Avatar
    October 2009
    5,683 Posts
    you get points being on the server 30 minutes also by killing npcs

    Check sh_pointshopconfig

    it has those values
    Reply With Quote Edit / Delete Venezuela Show Events

  34. Post #194
    thepanda's Avatar
    January 2011
    62 Posts
    you get points being on the server 30 minutes also by killing npcs

    Check sh_pointshopconfig

    it has those values
    Awesome thanks(:



    Other question:

    Does the "allow tool" bypass the Evovle tool blocking?

    Is it possible to disable changing models trough Q menu? (so you have to buy them)

    Does anyone have a "pack" of extra stuff they maybe would send to me? (i hope :))

    Can you trade items, money etc.?

    Can you make "rare" items, which you can only get by, doing somthing like, (Been on the server for 3 hours!) abit like achievements?

    Would you be able to sell ranks? like admin=3000 points, respected=1000?


    Thanks in advance, this seems like a awesome mod(:
    Reply With Quote Edit / Delete Denmark Show Events Optimistic Optimistic x 1 (list)

  35. Post #195
    CoderHire
    _Undefined's Avatar
    November 2007
    1,466 Posts
    Does the "allow tool" bypass the Evovle tool blocking?
    Doubt it.

    Is it possible to disable changing models trough Q menu? (so you have to buy them)
    concommand.Add("cl_playermodel", function(ply, cmd args) end)

    Does anyone have a "pack" of extra stuff they maybe would send to me? (i hope :))
    Doubt it.

    Can you trade items, money etc.?
    No.

    Can you make "rare" items, which you can only get by, doing somthing like, (Been on the server for 3 hours!) abit like achievements?
    If you coded it.

    Would you be able to sell ranks? like admin=3000 points, respected=1000?
    Depends on the admin mod and your ability to code.
    Reply With Quote Edit / Delete United Kingdom Show Events

  36. Post #196
    Gold Member
    Crap-Head's Avatar
    May 2010
    409 Posts
    Is it possible to disable changing models trough Q menu? (so you have to buy them)
    I woulde either suggest completly disabling your Q menu or use the code that _Undefined posted and then make people start with a model that you set.
    Else they would just join in singleplayer and select what model they want, then come back to your server and then there is no need to buy a new one. (Unless it is custom models)
    Does anyone have a "pack" of extra stuff they maybe would send to me? (i hope :))
    I have alot of custom stuff, but for now, im not going to post it. Maight do when im fully done. If _Undefined likes it.
    Can you trade items, money etc.?
    Nope. Im working on a trade system so you can trade money. Il probably send that to _Undefined so he can add it.
    Can you make "rare" items, which you can only get by, doing somthing like, (Been on the server for 3 hours!) abit like achievements?
    You could take the code where it gives you 10 points for being in the server for 30 min. Then change it to give you an item. If you wanted them both, just copy the code and change the names.
    Would you be able to sell ranks? like admin=3000 points, respected=1000?
    I dont understand what you mean. Why would you want to sell admin for points? Points are useless. If there was an admin mod where you did in console like, setadmin Crap-Head admin. Then you could probably do some wacky metoid like setadmin pl:Nick admin.
    But then agein mhee.
    Reply With Quote Edit / Delete Denmark Show Events Informative Informative x 1 (list)

  37. Post #197
    CoderHire
    _Undefined's Avatar
    November 2007
    1,466 Posts
    You could take the code where it gives you 10 points for being in the server for 30 min. Then change it to give you an item. If you wanted them both, just copy the code and change the names.
    Just an extension on this; you could make a new item and use the CanPlayerBuy function, and return false so the item can't be bought, but will still show in the shop.
    Reply With Quote Edit / Delete United Kingdom Show Events

  38. Post #198
    thepanda's Avatar
    January 2011
    62 Posts
    Thanks guys, problem is, i cant code(:

    So. _undefined, would you, or anybody code it for me?
    Reply With Quote Edit / Delete Denmark Show Events Dumb Dumb x 1 (list)

  39. Post #199
    Title

    August 2009
    300 Posts
    Any luck with the bug's I said?
    Reply With Quote Edit / Delete United Kingdom Show Events

  40. Post #200
    werewolf0020's Avatar
    October 2009
    5,683 Posts
    Someone can help me to IMPLEMENT this into my gamemode? i tried coping the lua files into my gamemode entities folder and well placing the rest on my gamemode/Garrysmod Campaign gamemode and as i was expecting it dident worked

    so i would have to upload this to my server to make it work or there is a way to implement it with a gamemode?
    Reply With Quote Edit / Delete Venezuela Show Events Dumb Dumb x 3 (list)