help with 5165 Guilds being deleted when login off

12/26/2009 20:52 droopz#1
im runing 5165 when i make a guild and then log off and log back in the guilds get deleted anyone know why is that? hope some one can help me out.
12/26/2009 20:59 Arcо#2
Quote:
Originally Posted by droopz View Post
im runing 5165 when i make a guild and then log off and log back in the guilds get deleted anyone know why is that? hope some one can help me out.

Are you typing /exit in the console before you close it?
12/26/2009 21:11 droopz#3
no im not will that work to keep the guilds let me try it out.
12/26/2009 21:14 droopz#4
thanks it worked one last question im trying to change the CPminibag to give u 50cps how so i do that here is the cod thing.

729910 CPMiniBag 0 0 0 0 0 0 0 0 0 0 10000 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 050 Giftbox Right~click~on~it~to~obtain~1~CP. 6
12/26/2009 21:15 Arcо#5
Quote:
Originally Posted by droopz View Post
thanks it worked one last question im trying to change the CPminibag to give u 50cps how so i do that here is the cod thing.

729910 CPMiniBag 0 0 0 0 0 0 0 0 0 0 10000 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 050 Giftbox Right~click~on~it~to~obtain~1~CP. 6

Go to character.cs and scroll down to the use items part.
Find the CPMiniBag ID and change the amount of cps that it gives.
01/21/2010 05:29 killerbee#6
Question about the guild getting deleted when login off. How would you make it to auto save it for others?
01/21/2010 06:14 Arcо#7
Quote:
Originally Posted by killerbee View Post
Question about the guild getting deleted when login off. How would you make it to auto save it for others?

What do you mean make it autosave for the others?
01/21/2010 11:16 pro4never#8
I would think you would just add a timer to the source that would save that sort of thing to the .ini files every let's say minute or so.

Not used the source but it sounds to me like using the /exit command is forcing the server to update all the .ini files and save everything. If you had an auto save timer built in, it would cause that to be less of an issue.
01/21/2010 21:05 Basser#9
Quote:
Originally Posted by pro4never View Post
I would think you would just add a timer to the source that would save that sort of thing to the .ini files every let's say minute or so.

Not used the source but it sounds to me like using the /exit command is forcing the server to update all the .ini files and save everything. If you had an auto save timer built in, it would cause that to be less of an issue.
Talking about messed up ideas.
This is like sucking away your pc's memory usage.
01/21/2010 21:34 pro4never#10
Well obviously saving it any time it is changed would be preferred but apparently that's not coded into the source. The simple solution would be to have it auto update every few minutes. While yes, it would waste a bit of cpu power. running every few MINUTES would not exactly 'suck away' memory. Not talking about saving every single thing on the server, just talking about stuff that's not currently saving (such as guilds)
01/21/2010 22:19 icence#11
Yep right i had the same prob just write /exit before u hit X button on console!
01/22/2010 01:52 Korvacs#12
Quote:
Originally Posted by Hepatitis X View Post
Talking about messed up ideas.
This is like sucking away your pc's memory usage.
Saving every few minutes wouldnt effect your memory usage provided the source cleans up after itself, i mean you never load your entire database into memory do you...so really it wouldnt effect memory usage at all.

But i agree with pro, saving everytime something is updated is the way to go.