splewis / csgo-practice-mode

CS:GO Sourcemod plugin for private team/individual practice servers
GNU General Public License v3.0
455 stars 70 forks source link

.save/.nades dosen save? #142

Open KernCS opened 4 years ago

KernCS commented 4 years ago

Expected behavior

.save/.nades should be able to load oafter map changes so if i save a nade on mirage and go to dust2 then go back to mirage i sould be able to load my nades i saved on thaty map before i chagne to dust2

Actual behavior

when i line up a smoke and save it then when i change map and go back to the map i saved my smokes on i should be abel to load my smokes but i cant?

Steps to reproduce

FerrarioChristian commented 4 years ago

I have the same problem, the nades are not saved in the file.

splewis commented 4 years ago

Any error logs? Things work fine for me. You might have server filesystem/permissions issues.

klinge72 commented 3 years ago

I have same issue more or less. I can save them. But if I leave the server they are gone.

Don't know if that is what it is supose to do

mjasieczko commented 3 years ago

well, i've had the same issue - the problem is that you probably pass the grenade name in " " e.g. .save "the best smoke ever" i won't go much into details here - but it will be saved in the file with coordinates as "the" "best" "smoke" "ever" instead original "the best smoke ever" so it will mess with x/y/z coordinates of the nade. it works as the expected before changing a map because file with coordinates/names is created during map change.

SO if you will use e.g. .save 'the best smoke ever' (' ' instead " ") everything should work fine for you (not using any parantheses should be as good as ' ' as my grenade names are shown with ' ' in .nades).

i also changed default values of sm_practicemode_share_all_nades and sm_practicemode_alphabetize_nades from 0s to 1s, but i doubt that had any effect on proper saves (BUT i didnt debug this that way, so if ' ' doesnt help you - you may consider also change of default values of both these parameters).

Hope this will be helpful for you :)