Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

List index Out of bounds(2) error!

Newbie Spellweaver
Joined
Aug 24, 2012
Messages
8
Reaction score
0
Hi, I'm one of Korean pangya player.

I downloaded and installed S7 private server pack.

I saw the tutorial video several times, and I've done what it shown.

I logged in with test ID and selected server. but PY_Game is reported "List index Out of bounds(2)" error.

If PY_Game were launched with delphi7, it shows error point below.

-------------------------------------------------

...

procedure mainpacket(i: integer);
var
pdata, datas: ansistring;
idmascote, diasmascote: integer;
begin
if dbug=1 then debug('Enviando main packet',i);
MySQL.Connected:=True;
Query.Close;
Query.SQL.Clear;
Query.SQL.Add('select mascote from py_members where uid = '+QuotedStr(inttostr(Lista.uid))+'');
Query.Open;
idmascote:=Query.fieldbyname('mascote').asinteger;
Query.Close;
Query.SQL.Clear;
Query.SQL.Add('select * from py_mascots where mid = '+QuotedStr(inttostr(idmascote))+'');
Query.Open;
diasmascote:=Query.fieldbyname('dias').asinteger;
datas:=Query.fieldbyname('tempo').asstring;

===▶pdata:=EncryptS(Compress(#$44#$00#$00#$06#$00#$37#$32#$36#$2E#$30#$30#$19#$00#$67#$61#$6D#$65#$73#$65#$72#$76#$65#$72#$5F#$52#$65#$6C#$65+
#$61#$73#$65#$5F#$47#$42#$2E#$65#$78#$65#$FF#$FF#$70#$61#$6E#$67#$73#$6B#$75#$72#$61#$6D#$61#$00#$00#$00#$00#$00+
#$00#$00#$00#$00#$00#$00+wrapper(Lista.nick,39)+#$67#$75#$69#$6C#$64#$6D#$61#...


...

-------------------------------------------------

I searched on google, and I could know this error is because there is no 3rd value in the array. but I don't know how could I deal with this problem;((

I hope run this server on my computer.
please someone help me, and sorry for my bad english.

er - List index Out of bounds(2) error! - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Aug 24, 2012
Messages
8
Reaction score
0
Hello Nyamochka~! First, Thank you for your reply. It's very thankful for me.

After reading your reply, I've changed my computer's date and time formats.

But PYGame shows same error;((

Is there any other solution about this problem?

Thank you for your reply once again.
 
Upvote 0
Back
Top