![]() |
G2O Missing functions to add - Printable Version +- Gothic Online Forums (https://archive.gothic-online.com) +-- Forum: Main (English) (https://archive.gothic-online.com/forum-3.html) +--- Forum: Ideas (https://archive.gothic-online.com/forum-5.html) +--- Thread: G2O Missing functions to add (/thread-2333.html) |
Missing functions to add - Mattwell - 02.02.2018 Client Side: Setters: setPlayerTalent(int: talent_id, bool: toggle); - example: setPlayerTalent([font=sans-serif]TALENT_THROPHY, true);[/font] setPlayerMana(int: heroId, int: mana); [font=sans-serif]setPlayerMaxMana(int: heroId, int: max_mana);[/font] Getters: [font=sans-serif]getPlayerTalent(int: talend_id); returns bool true/false[/font] [font=sans-serif]getPlayerMana() returns player mana[/font] [font=sans-serif][font=sans-serif]getPlayerMaxMana() returns player max mana[/font][/font] RE: Missing functions to add - Toworish - 02.02.2018 you have these functions on the server side, use packets. RE: Missing functions to add - Mattwell - 02.02.2018 I can't see it on Wiki RE: Missing functions to add - Toworish - 02.02.2018 in the folder with server files, see the file Functions.txt and http://gothic-online.com.pl/forum/showthread.php?tid=2297 RE: Missing functions to add - Mattwell - 02.02.2018 Thank you RE: Missing functions to add - Toworish - 02.02.2018 (02.02.2018, 17:23)Mattwell Wrote: Thank you Are you kidding me? give me my fucking props. RE: Missing functions to add - Marko - 03.02.2018 https://gitlab.com/Bimbol/Gothic2Online/issues |