Syriza
Banned-
Posts
259 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Syriza
-
question about second argument in python command
Syriza replied to Syriza's topic in Community Support - Questions & Answers
Thank you very much man! I adapted the Code, now it works as i wanted ! -
question about second argument in python command
Syriza replied to Syriza's topic in Community Support - Questions & Answers
ACMD(do_stat) { char arg1[256], arg2[256]; two_arguments(argument, arg1, sizeof(arg1), arg2, sizeof(arg2)); if (!*arg1) return; int iStatUp = 1; if (*arg2) iStatUp = atoi(arg2); if (ch->IsPolymorphed()) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("µÐ°© Áß¿¡´Â ´É·ÂÀ» ¿Ã¸± ¼ö ¾ø½À´Ï´Ù.")); return; } if (ch->GetPoint(POINT_STAT) < iStatUp) iStatUp = ch->GetPoint(POINT_STAT); BYTE idx = 0; if (!strcmp(arg1, "st")) idx = POINT_ST; else if (!strcmp(arg1, "dx")) idx = POINT_DX; else if (!strcmp(arg1, "ht")) idx = POINT_HT; else if (!strcmp(arg1, "iq")) idx = POINT_IQ; else return; if ((ch->GetRealPoint(idx) + iStatUp) > MAX_STAT) iStatUp = MAX_STAT - ch->GetRealPoint(idx); if (iStatUp < 1) return; ch->SetRealPoint(idx, ch->GetRealPoint(idx) + iStatUp); ch->SetPoint(idx, ch->GetPoint(idx) + iStatUp); ch->ComputePoints(); ch->PointChange(idx, 0); if (idx == POINT_IQ) { ch->PointChange(POINT_MAX_HP, 0); } else if (idx == POINT_HT) { ch->PointChange(POINT_MAX_SP, 0); } ch->PointChange(POINT_STAT, -iStatUp); ch->ComputePoints(); } -
question about second argument in python command
Syriza replied to Syriza's topic in Community Support - Questions & Answers
Bro, my command is working I dont need to change sth. in my command, i already did that. If i type in /state st (value) it works. i only need to adapt the python-code.. -
question about second argument in python command
Syriza replied to Syriza's topic in Community Support - Questions & Answers
That's exactly what I want, could you help me? I really don't understand Python at all.. I knew what cause the crash i dont need to repeat the command, my command has a second argument now, im able to distribute all without repeating.. -
question about second argument in python command
Syriza replied to Syriza's topic in Community Support - Questions & Answers
hey weedhex, my problem is that the command is currently being executed several times, which can lead to kicks if the number is high. I have now adjusted the command when distributing the status points so that you get the status points immediately. but in python the command is still being executed several times. Example before my changes: i could only give 1 stat /state st now im able to distribute what ever value i type in e.g. /stat st 20 the function im using currently executes this self.statusPlusCommandDict={ "HTH" : "/stat ht", "INT" : "/stat iq", "STR" : "/stat st", "DEX" : "/stat dx", } couple times, but i need it like this: self.statusPlusCommandDict={ "HTH" : "/stat ht ( entered value e.g. 20)", "INT" : "/stat iq ( entered value e.g. 20)", "STR" : "/stat st ( entered value e.g. 20)", "DEX" : "/stat dx ( entered value e.g. 20)", } Just look for def ChooseCountPlusStatConfirm(self, statusKey): in my uiCharacter -
I Implemented everything correctly (i used his repository) but, if i comment the images of locked inventory i can move items into the locked slots.. i know i have to edit sth in moveitem, can someone help me..
-
question about second argument in python command
Syriza replied to Syriza's topic in Community Support - Questions & Answers
someone ? -
Hello people, I have adjusted my command regarding the status points, now I am able to distribute several status points immediately. I have also found a release which is a gui to distribute the status points, but the function in the release executes the / stat command several times . So: /stat st Instead of: /stat (entered value, example 20) Unfortunately, I do not understand much of Python, I hope someone agrees to help me. Pictures say more than thousand words: [Hidden Content] greetings
-
Guys i can't compile my game src .. im using freebsd 11.2 /usr/local/bin/ld: /usr/local/lib/mysql/libmysqlclient.a(my_aes_openssl.cc.o): undefined reference to symbol 'EVP_aes_128_cfb1' //lib/libcrypto.so.8: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status gmake[1]: *** [Makefile:200: ../game_r41017] Error 1 gmake[1]: Leaving directory '/usr/src/m2/Srcs/Server/game/src' gmake: *** [Makefile:111: all] Error 2 can someone help me :S? i already tried to reinstall mysql.. didnt work..
-
oh really? Thanks, but dont need it.
-
Error Disonnect after first Login
Syriza replied to Syriza's topic in Community Support - Questions & Answers
yeah the client syserr is clean. -
Error Disonnect after first Login
Syriza replied to Syriza's topic in Community Support - Questions & Answers
Anyone ? -
Error Disonnect after first Login
Syriza replied to Syriza's topic in Community Support - Questions & Answers
Yeah after that everything work.. i can see the sash again, even if i restart client, this problem does not happen again - so i atleast know that the problem is in game src or? -
Error Disonnect after first Login
Syriza replied to Syriza's topic in Community Support - Questions & Answers
The problem is, that im not using the Sash System by Lennt (The one im using is a lot better & should work without Bugs) I Can't just reimplement the System because its from a Source which got released few Months ago. (Without defines) And there is no syserr neither in debug mode or in syserr/syslog But still thank you for your answer bro, i will check the pakets once again. Isn't it strange, that in the first character select, i do not see the sash, then i get a kick and the bug does not appear again until i reboot the server? -
Error Disonnect after first Login
Syriza replied to Syriza's topic in Community Support - Questions & Answers
Anyone able to help me with this problem? :/ -
Error Disonnect after first Login
Syriza replied to Syriza's topic in Community Support - Questions & Answers
Anyone ? -
Hey guys, im having a issue with Sash System.. after i start my Server and log in, i choose my character (at this point sash is invisible) i get a kick. if i login again, i can see the sash and i do not get a kick, even if i restart my Client it does not happen again (The problem just appears if i restart my Server) Picture: [Hidden Content] After the first log in: [Hidden Content] as you see, the sash is visible again. I hope someone has the time to help me Even a small advice will help me, e.g. in which file i have to look for...
-
[Acce System] Find Error 19465
Syriza replied to Syriza's topic in Community Support - Questions & Answers
Someone able to help me :S? -
Hey guys, to be honest, i've tried to implement the acce costume system of rubinum in my source, because i think it's much better then every other public acce costume system. atm. everything's working except the issue that im not able to see costume bands. i even tried to change parts from word to dword (result: didnt work too) if i start my client in debug mode, that's the issue i receive: CitemManager::GetItemDataPointer - Find Error [19465] There is a Screen of my Problem: I hope someone will be able to help me
-
error nullptr freebsd :D
Syriza replied to Syriza's topic in Community Support - Questions & Answers
I did what you said bro, but still same error.. ;( see: makefile is correct.. -
error nullptr freebsd :D
Syriza replied to Syriza's topic in Community Support - Questions & Answers
Compiling Error: -
error nullptr freebsd :D
Syriza replied to Syriza's topic in Community Support - Questions & Answers
sorry, i will do every post in spoiler. 1moment. thats my makefile from game: -
error nullptr freebsd :D
Syriza replied to Syriza's topic in Community Support - Questions & Answers
i did put it into games makefile but still get that error -
error nullptr freebsd :D
Syriza replied to Syriza's topic in Community Support - Questions & Answers
could you pls tell me in which makefile i have to do this? isnt this correct :S? -
error nullptr freebsd :D
Syriza replied to Syriza's topic in Community Support - Questions & Answers
In every makefile in folder Src/Server? i dont even know if i have c++11 im not as experienced as you are bro, how do i upgrade, how do i know that i have c++11? i installed gcc49 but i dont know if im using it... could you take a look with teamviewer pls ?