Lazarus
Master
Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1
Hybris Ultima Online
|
RE: Problems with MySQL
(08-17-2012 04:50 AM)Extreme Wrote: (08-17-2012 03:48 AM)Lazarus Wrote: (08-17-2012 01:05 AM)Extreme Wrote:
Don't worry, where are there to help when someone need help.
You are sure? Because End works like endfor -.-
I don't think so.
One time I had this same mistake, the sphere crashes like shit...
Maybe now End = Endfor, before not I think.
Did it resolve your problem? Don't? What's happening?
Nope... And I was changes some codes I'd try with this and nothing:
Code:
[FUNCTION f_query_2]
IF (<ARGN2>==0)
SERV.LOG Cuentas: El siguiente comando fallo al ejecutarse. (<ARGS>)
ELSE
SERV.LOG Cuentas: El proceso finalizo satisfactoriamente
ENDIF
[FUNCTION f_query_1]
IF (<ARGN2>==0)
SERV.LOG Cuentas: El siguiente comando fallo al ejecutarse. (<ARGS>)
ELSE
if (<LOCAL.NUMROWS> > 0)
for R 0 <eval <LOCAL.NUMROWS>-1>
serv.account add <LOCAL.<eval <LOCAL.R>>.login> <LOCAL.<eval <LOCAL.R>>.password>
serv.log Cuentas: #<eval <LOCAL.R>> La cuenta "<LOCAL.<eval <LOCAL.R>>.login>" ha sido creada
IF (<DB.AEXECUTE f_query_2, UPDATE accounts SET status='1' WHERE login='<LOCAL.<eval <LOCAL.R>>.login>'>)
SERV.LOG Cuentas: Comando iniciado satisfactoriamente
ELSE
SERV.LOG Cuentas: El comando fallo al iniciarse
ENDIF
end
endif
ENDIF
[function f_acc_update]
if !( <DB.connected> )
DB.CONNECT
ENDIF
if (<DB.AQUERY f_query_1, SELECT * FROM accounts WHERE status='0'>)
SERV.LOG Cuentas: Comando iniciado satisfactoriamente
ELSE
SERV.LOG Cuentas: El comando fallo al iniciarse
ENDIF
Mbe... the host no is in the local host and that's the real problem i guess.
I will try to change the operating system [Im using w7] and install mysql here too...
1gb ram 2.0 1 core.
|
|
08-18-2012 02:34 AM |
|
|