MegaCheat Posted December 22, 2021 Posted December 22, 2021 (edited) i put the code Aio Item the source here down https://www.l2jserver.com/forum/viewtopic.php?f=73&t=26998 now i made 1 window in interface Images please how can i make it open with this window??? Edited December 22, 2021 by MegaCheat
Zake Posted December 23, 2021 Posted December 23, 2021 12 hours ago, MegaCheat said: i put the code Aio Item the source here down https://www.l2jserver.com/forum/viewtopic.php?f=73&t=26998 now i made 1 window in interface Images please how can i make it open with this window??? Moved to client section.
Dragic Posted December 23, 2021 Posted December 23, 2021 (edited) 15 hours ago, MegaCheat said: i put the code Aio Item the source here down https://www.l2jserver.com/forum/viewtopic.php?f=73&t=26998 now i made 1 window in interface Images please how can i make it open with this window??? Hi you must call the bypass "Aioitem" from the client side also (interface.u) ... Decompile your interace.u and make a new class file, use the name from the wnd button you just make to interface.xdat BlaBlaWnd.uc and then add my code! (Replace the BlaBlaWnd with the name you use in your wnd from xdat). class BlaBlaWnd extends UICommonAPI; var WindowHandle BlaBlaWnd; function OnClickButton (string strID) { switch (strID) { case "AioBtn": // Put here the name of the button you make inside the interface.xdat AioFunction(); // Put here the fuction you want to call from the server side break; default: } } function AioFunction() { RequestBypassToServer("Aioitem"); } defaultproperties { } And then just compile it ! Edited December 23, 2021 by Dragic 1
MegaCheat Posted December 23, 2021 Author Posted December 23, 2021 (edited) Man you are god!!! thanks very much like like like Edited December 24, 2021 by MegaCheat 1
Recommended Posts