Discussion on [?RELEASE?]Source(ugly, untested) of /dice fix within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
ich weiß nicht obs funtzt oder nicht, und ja ich weiß die Source ist hässlich,
ich hatte diese ganzen Threads von wegen Fix für die /dice Funktion gefunden und habe dann einfach mal am Handy eine (wahrscheinlich buggy) Funktion zum Überschreiben geschrieben.
Es geht an sich um die Funktion number_ex...wenn jemand sieht das es nicht funktioniert, würde ich ihn doch liebend gerne beten es zu fixen und hier im Thread zu posten, das wäre sehr nett ^-^
Seems legit because you first need to tell the compiler what thecore_random points to (you cannot call functions by name without introducing their addresses).
The function is roughly the same - except that the error handling looks better to me.
The reference to sys_err is missing though.
Seems legit because you first need to tell the compiler what thecore_random points to (you cannot call functions by name without introducing their addresses).
The function is roughly the same - except that the error handling looks better to me.
The reference to sys_err is missing though.
i knew i forgot something....could you tell me the address of the thecore_random function?
Wieso zur hölle schaut eig niemand danach, was fürn rückgabewert number_ex eigentlich hat?
Selbst die Lösung von Luca ist falsch, da er auch nicht drauf geachtet hat.
Hier mal meine Variante (kp ob gut, aber immerhin mitm richtigen Rückgabe-Wert)
in den header:
Code:
unsigned int (*number_ex)(int arg1, int arg2) = (unsigned int(*)(int,int))0x08439620;
int (*thecore_random)() = (int(*)())0x08439610;
Wieso zur hölle schaut eig niemand danach, was fürn rückgabewert number_ex eigentlich hat?
Selbst die Lösung von Luca ist falsch, da er auch nicht drauf geachtet hat.
Hier mal meine Variante (kp ob gut, aber immerhin mitm richtigen Rückgabe-Wert)
in den header:
Code:
unsigned int (*number_ex)(int arg1, int arg2) = (unsigned int(*)(int,int))0x08439620;
int (*thecore_random)() = (int(*)())0x08439610;
Eine Detour-Funktion zu schreiben ist nicht sonderlich kompliziert..
Pseudocode
Code:
void detour(void* src, void* dest) {
mprotect von src mit size 5
unsigned char array mit größe 5 erstellen
array[0] = E9
array[1] = dest - src - 5
memcpy von array nach src mit der länge 5
}
[RELEASE] Dice Game script (event) 08/02/2011 - EO PServer Guides & Releases - 3 Replies Hi all, this is a simple event i made for you...
you have to add the npc yourself, but however here is the script!
what is this dice game?
Well, it is gambling..... but on EO :)
[RELEASE] NAGC BOARD GAME - INFINITE DICE 12/13/2010 - Grand Chase Hacks, Bots, Cheats & Exploits - 94 Replies Finally right? Took along time to get this working, so here it is,
This hack freezes the value of your dice to 1, if you have more than one die, it will go down to 1, and stay at 1.
How to use:
1: Download BoardFreezer and extract it with winRAR
2: Run GC_Board_Freezer_32bit (The shortcut)
3: There will be an error message, Just press OK
4: Log into your account. Welcome To Grandchase!
[Release] [Untested] Awarding Halos 12/06/2009 - CO2 PServer Guides & Releases - 4 Replies Im not entirely sure this works but its an idea. Someone try this out or tell me whats wrong please.
Chat.cs
if (Cmd == "/awardtopWarrior")
#region Players
try
{
foreach (Game.Character Player in Game.World.H_Chars.Values)
#endregion
...
[Release]Ugly Blue Release 08/30/2009 - CO2 PServer Guides & Releases - 8 Replies This is another of my websites release
Open Index with notepad The Search For 24.91.136.230 And replace it with your IP adress thats the server stats checker to see if your server is online or no,
http://img502.imageshack.us/img502/9318/uglyblue. jpg
Please Do not flame this was just a quick website,
Below