View Single Post
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 04-26-2016 , 10:19   Re: Static.cfg restoration
Reply With Quote #10

Thank you for reviewing the plugin! It helped me to understand more things.

You're pretty much right about every point but I have to disagree with this one

Quote:
new data[64] since you read maps in it, buffer should be 32, not 64.
In Sven Co-op, mapcycles in the servers are huge! Since very few of them only run stock maps, the mapcycle of a regular server can easily be over 100 maps (mine is almost reaching 200 maps in the cycle). This is unlike a game like Counter-Strike where I haven't seen a server with more than 20 maps in their cycle.

I also have some questions.

Quote:
Reading always the "staticfile" is not acceptable. Please read only one time, in a place like plugin_init and save the content.
I do not understand what do you really mean here.

Quote:
Do you mind using okapi? [...]
What's the difference between that okapi method and https://forums.alliedmods.net/showthread.php?t=154642 this module?
__________________
gabuch2 is offline