Posts: 312
Threads: 50
Joined: Jul 2010
Reputation:
0
I upgraded the system to Dini. It works perfect, but when i enter the server (home/host) i type any cmd and it shows it after 5 seconds. What should i do? I heard about dini that it works quickly, but here....
Posts: 372
Threads: 8
Joined: Jan 2011
Reputation:
0
Well, I don't understand you when you say: "I upgraded the system to Dini" ? - Dini is not an upgrade, Dini should be something like a base to start with, when your creating a players/users file or such. If you really want to upgrade you should get your system working with MySQL or SQL databases.
Anyways, to get on my point - It's not Dini that causing a "slow motion" on your commands. It's your command processor(whit that I mean that you don't use Dini in every command).
Upgrade you command processor to ZCMD - it will help you out a lot if you have a big command database.
Posts: 312
Threads: 50
Joined: Jul 2010
Reputation:
0
I use gtarp. I edited the OnPlayerUpdate, OnPlayerRegister, OnPlayerLogin with Dini. Now it works slowly.
Raven's rp is using dini, and strcmp for commands and it works perfect.
Posts: 6,129
Threads: 36
Joined: Jan 2009
You shouldn't be saving anything with OnPlayerUpdate, that function is called hundreds of times a second, per player.
Posts: 1,506
Threads: 69
Joined: Feb 2008
Don't use dini if you're going to switch filesystem, and If you just have to, don't do it under OnPlayerUpdate...
Posts: 1,506
Threads: 69
Joined: Feb 2008
Quote:
Originally Posted by pantelimonfl
I don't understand what you mean.
I just wanted to have a better system, so i put dini.
|
What did you use before, because dini is NOT better then anything that i know of.
Posts: 312
Threads: 50
Joined: Jul 2010
Reputation:
0
I used the basic godfather system : strcmp