-
Posts
351 -
Joined
-
Last visited
-
Days Won
26
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Functor
-
https://rathena.org/board/topic/119467-pvp-ladder-error-and-debug/
-
https://mega.nz/#!5ItiHIKS!Uik_k-Y1scRKZKEokYtCjD23m7MRtlJrt3fi00MDaj8
-
How to reproduce "bug"? Which GM lvl should I use with this "groups.conf"?
-
@Frost Diver Your "groups.conf" allows the player with GM lvl 2 or higher to bypass this restriction.
-
Nobody can help you with it, because you don't give exact info about your modifications. You can remove all your mods. If everything will be OK - install it one by one and check.
-
https://github.com/rathena/rathena/commit/b143241222470419e26f47ba919226ca8c19b007
-
@Jacktuloco Open "dinput.ini" and change from: to:
-
Example - https://rextester.com/DGDTO79874 #include <stdio.h> int main(void) { char buffer_1[32]; char buffer_2[32]; unsigned int len_1 = 0; unsigned int len_2 = 0; memset(buffer_1, '\0', sizeof(buffer_1)); memset(buffer_2, '\0', sizeof(buffer_2)); int result_1 = sscanf("hello_1", "%31c%n", buffer_1, &len_1); int result_2 = sscanf("hello_2", "%31s%n", buffer_2, &len_2); printf("%s - %u - result %d\n", buffer_1, len_1, result_1); printf("%s - %u - result %d\n", buffer_2, len_2, result_2); return 0; } The result: As you can see if "sscanf" fails - it returns "-1". So, it is important to check the result. If I find something - I will let you know.
-
It is the result of your masking of the problem. ? I mean: P.S. Try to change from "%31c%n" to "%31s%n" + add validation the result of the execution "sscanf" function and value of "len" variable. Keep in mind that execution of a "%n" directive does not increment the assignment count returned at the completion of execution of the sscanf function.
-
@Rytech If you will not solve it in 2 days - you should create archive with: upload to the file hosting and post link here. I will try to find time to check it.
-
@Rytech int i,j,p,len; This line reserves memory on the stack for the variables. But it doesn't initialize them. So, they contain values after the execution of previous functions("garbage data"). There is a possibility that function "sscanf" will not assign the value to the variable "len", but you use it without any validation. Different compilers generate different machine code. In this case, "len" variable can contain different values. For example, when we compile server by using VS2008 - the uninitialized "len" variable is equal "2" and it doesn't cause a crash. But when we use VS2015 - the uninitialized "len" variable is equal "100500" and it causes a crash. You should press the button "Run it (F8)" to execute code: Clang (len == 0) https://rextester.com/TUUGW99405 VC++ (len == random value) https://rextester.com/DBNPV42856 As you can see, code is the same - the results are different for different compilers. It isn't a problem of compilator. It is the problem of the code.
-
Maybe the server is started from the user which doesn't have the rights to write to the folder "log". You should check it.
-
[FAIL] savedata\MiniPartyInfo.lua (Game Client Crash)
Functor replied to CenturyGothic's question in Client-side Support
Correct -
How about: It is client side validation.
-
grannyNewMeshDeformer@12 dll not found error massege
Functor replied to Gotcha's question in Client-side Support
Put "granny2.dll" and EXE from the game folder in archive, upload to the file hosting and post the link. -
[FAIL] savedata\MiniPartyInfo.lua (Game Client Crash)
Functor replied to CenturyGothic's question in Client-side Support
It isn't the reason of the crash. This happened during the attempt of memory allocation for effect's object. Maybe the reason of the crash is the lack of free RAM memory. -
grannyNewMeshDeformer@12 dll not found error massege
Functor replied to Gotcha's question in Client-side Support
- remove "granny2.dll" from "..\Windows\System32" folder - download the compatible version of "granny2.dll" and copy to the game folder https://mega.nz/#!4E8mhSjD!IN754qNXTihq9pMbKQlzN3AFo8aQT0d7qviZbkQEF9M -
You need to select patch "Use Ragnarok Icon" for changing icon of EXE.
-
@Ejamestereo - select EXE by using the first button "Browse" and press "Yes" - press "Load client" - press "Select recommended". Some patches will show error message. Ignore it. - press "Apply selected" The new patched EXE will appear near the original one.
-
RO Open Setup, v3.1.0.627 - last updated 2023/11/18
Functor replied to Ai4rei's topic in Client Releases
@Gigo The presence of a supported "dinput.dll" in the game folder. -
Disable/remove Equipment Swap button
Functor replied to apuadofrancisco's question in Client-side Support
@apuadofrancisco Try to add it too: offset 206550 change E8 to C0 -
Disable/remove Equipment Swap button
Functor replied to apuadofrancisco's question in Client-side Support
@apuadofrancisco You need to apply it by using any hex editor after patching EXE by NEMO. offset 21DD42 change 93 to FF