Yini Problem +REP
#4

Quote:
Originally Posted by GlobalShot
Посмотреть сообщение
I won't help you just because you think that we (I at least) need something like +REP to help you.
thats why it exist, you help people and get reputation for helping them. if you don't want it help him and tell him not to rep you..

and if reps isn't what you need to help him, what do you need.. ?


@topic
Most of these errors are explaining themselves, for example
Quote:

[22:05:55] [debug] Run time error 4: "Array index out of bounds"
[22:05:55] [debug] Accessing element at negative index -1
[22:05:55] [debug] AMX backtrace:
[22:05:55] [debug] #0 000185e4 in INI_Close (INI:file=-1) at D:\SA-MP Things\SAMP 0.3.7 R2\pawno\include\YSI\y_ini.inc:746
[22:05:55] [debug] #1 00024874 in public UserSaver (playerid=0) at D:\SA-MP Things\SAMP 0.3.7 R2\gamemodes\LSGW.pwn:2143
[22:05:55] [debug] #2 00071fec in public OnPlPa_OnPlayerDisconnect (playerid=0, reason=1) at D:\SA-MP Things\SAMP 0.3.7 R2\gamemodes\LSGW.pwn:6708
[22:05:55] [debug] #3 native CallLocalFunction () from samp03svr
[22:05:55] [debug] #4 0001fa7c in ?? (... <2 arguments>) at D:\SA-MP Things\SAMP 0.3.7 R2\pawno\include\whenpause.inc:125
[22:05:55] [debug] #5 0000de3c in public SSCANF_OnPlayerDisconnect (playerid=0, reason=1) at D:\SA-MP Things\SAMP 0.3.7 R2\pawno\include\YSI\y_hooks/impl.inc:661
[22:05:55] [debug] #6 000010ac in public Itter_OnPlayerDisconnect (playerid=0, reason=1) at D:\SA-MP Things\SAMP 0.3.7 R2\pawno\include\sscanf2.inc:229
[22:05:55] [debug] #7 native CallLocalFunction () from samp03svr
[22:05:55] [debug] #8 000008f0 in public OnPlayerDisconnect (playerid=0, reason=1) at D:\SA-MP Things\SAMP 0.3.7 R2\pawno\include\foreach.inc:643

You're trying to "INI_Close" a file, which equals "-1" as it says "Accessing element at negative index -1"

this means you're putting an invalid address, read this
Quote:

This function starts the write process, it doesn't actually open a file, just sets up the buffer. On success it returns a handle to the ini with tag INI, on fail it returns INI_NO_FILE (INI:-1):

after opening a file, check it equals -1, if it does then don't continue and fix the address.
Reply


Messages In This Thread
Yini Problem +REP - by Youssef221 - 17.07.2015, 21:52
Re: Yini Problem +REP - by Youssef221 - 23.07.2015, 14:30
Re: Yini Problem +REP - by GlobalShot - 23.07.2015, 15:05
Re: Yini Problem +REP - by xVIP3Rx - 23.07.2015, 15:20
Re: Yini Problem +REP - by Youssef221 - 24.07.2015, 07:44
Re: Yini Problem +REP - by xVIP3Rx - 24.07.2015, 13:24
Re: Yini Problem +REP - by Youssef221 - 26.07.2015, 22:52

Forum Jump:


Users browsing this thread: 1 Guest(s)