- 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.
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.
Attachments
You must be registered for see attachments list
Last edited: