Dini problem
#1

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....
Reply
#2

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.
Reply
#3

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.
Reply
#4

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

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
Reply
#6

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

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

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.
Reply
#9

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.
Reply
#10

I used the basic godfather system : strcmp
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)