SA-MP Forums Archive
Dini problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dini problem (/showthread.php?tid=232253)



Dini problem - pantelimonfl - 27.02.2011

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....


Re: Dini problem - xRyder - 27.02.2011

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.


Re: Dini problem - pantelimonfl - 27.02.2011

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.


Re: Dini problem - pantelimonfl - 27.02.2011

No-one? I saw a lot of people using Dini. I know there's someone who can help me


Re: Dini problem - Steven82 - 27.02.2011

Quote:
Originally Posted by pantelimonfl
Посмотреть сообщение
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.
Figures


Re: Dini problem - Calgon - 27.02.2011

You shouldn't be saving anything with OnPlayerUpdate, that function is called hundreds of times a second, per player.


Re: Dini problem - Mike Garber - 27.02.2011

Don't use dini if you're going to switch filesystem, and If you just have to, don't do it under OnPlayerUpdate...


Re: Dini problem - pantelimonfl - 27.02.2011

Quote:
Originally Posted by Mike Garber
Посмотреть сообщение
Don't use dini if you're going to switch filesystem, and If you just have to, don't do it under OnPlayerUpdate...
I don't understand what you mean.
I just wanted to have a better system, so i put dini.


Re: Dini problem - Mike Garber - 27.02.2011

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.


Re: Dini problem - pantelimonfl - 27.02.2011

I used the basic godfather system : strcmp