Jump to content

narcisxb

Inactive Member
  • Posts

    113
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by narcisxb

  1. Hi! I'm trying to add official character details (bonus page) and I m getting this error. 0317 00:38:44680 :: Traceback (most recent call last): 0317 00:38:44680 :: File "game.py", line 1216, in OnKeyDown 0317 00:38:44681 :: File "game.py", line 369, in <lambda> 0317 00:38:44681 :: File "interfaceModule.py", line 1011, in ToggleCharacterWindow 0317 00:38:44682 :: File "interfaceModule.py", line 1025, in OpenCharacterWindowWithState 0317 00:38:44682 :: File "uiCharacter.py", line 874, in Show 0317 00:38:44682 :: File "uiCharacter.py", line 1103, in __InitCharacterDetailsUIButton 0317 00:38:44682 :: AttributeError 0317 00:38:44682 :: : 0317 00:38:44683 :: 'CharacterWindow' object has no attribute 'ExpandBtn' 0317 00:38:44683 :: Any idea why?
  2. This issue appears because he has a different character window. He has Yohara and Champion level added to it. All you have to do is delete those parts and add back the Emoticon window down below the Skill window. You can get it from a basic client that does not have the new Champion Level refresh added and it works fine without deleting anything.
  3. Hi! So I just added these new functions to the client source and root. Now my client crashes at login. After typing my account credentials and hitting "enter" it goes to "successful connection" and then the client closes. It won t reach character selection phase. Syserr is empty on both client and server. I tried debugging with vs2022, and I can get it to log in, select character and even get into the game while running debug, but I do get some write memory violation errors. Anyone knows what the problem might be?! I double checked and did everything as instructed.
  4. does this need any dependency to work?! my client will crash after login in (won t get to character select), syserr is empty (both server and client). any ideas why? I double checked and I added it exactly as you instructed. I m using [40250]Reference SF.
  5. the client works just fine, item names for example show those characters. It s those server files that just won't save with the correct encoding. The issue affects only quest names and text and other strings like NPCs text and NPCs dialogue! This is not a client issue. Also does anyone know how to completely get rid of dragon soul? (ctrl+o hotkey, button and quest)
  6. I have a big issue with translating serverside quests and strings. No matter how I configure my text editors it never saves diacritics (accents) in Romanian. I tried everything, 3 or 4 editors (vscode, sublime, notepad++) and it always goes back to default after I save with the correct encoding. Any idea on how to do this?! It just looks terrible without these accents.
  7. I cant find them lol. Thats the whole reason I asked in the first place.
  8. how did you compile the server source on a 64bit freebsd on your vm?!
  9. hey @Alessio you just modify the bonuses in item_proto.txt, but next, you will need to have the dump_proto source that usually comes with the client source. If you don t have it you can just get one from the net but you might have to make some additional modifications to the source code before compiling it so that your item_proto client side has the same fields as your item_proto.txt serverside. Finally, you just compile the dump_proto source, drag item_proto.txt and item_names.txt over the executable (that results from compiling) and it will generate the item_proto for the client side.
  10. hi, @ TMP4 what are some major or at the very least significant vulnerabilities that one could reasonably expect?
  11. Hi! Does anyone have them or could link to them?! Txh.
  12. Welp it turns out your backup command creates a src folder but does not backup the actual source files. As I just deleted a months worth of work on the source now I m just going to go fkin kill (shot or hang - not decided as of yet -) myself in the livingroom.
  13. I literally don t have any syserr or syslog in any of them. I can t even start the server, as soon as I type start and select channel number it dumps stuff in var/crash and reboots freebsd. Any ideea what I m doing wroing? It worked great until last night and this morning I got this crash. I added a bunch of stuff (mainly malis and p3nger) but I always did a lot of testing and made sure everything worked. Last night I had 0 errors but this morning I just started getting this crash. I get this: ... savecore 560 - - reboot after panic: ffs_write: type 0x19307360 0 (0,57) savecore 560 - - writting core to /var/crash/vmcore.0 Writing crash summary to /var/crash/core.txt.0 ...
  14. How do I read a crash core? I get some files in var/crash (core.txt.0 and vmcore.0) but nothing in ch1/ch2/etc. and my server keeps rebooting after start command. (sorry for newbie questions)
  15. I did just that and it compiled. (replaced auto ptr with unique ptr and used bind) But I have the following issues: Any ideea why I get the same messages no matter if player 1 blocks player 2? (Player 1 block Player2 and Player2 gets this: You can t do this action because you blocked Player 1. Even tho Player1 is the one who blocked Player2 and Player2 should get: You can t do this action because Player1 blocked you?
  16. Does anyone have the code updated for newer versions of C++? auto_ptr doesn t work, bind1st appears to be utterly removed from C++ after 2017 and mem_fun also does not work anymore.
  17. Do post client syserr if you really want any help. It could be caused by a ton of stuff but you probably just missed an indent or so.
  18. Hi I want to add this (Whisper Information in Whisper System)script to my server but I have an issue with this part: I have this in input_main: /*Info*/ TPacketGCWhisper pack; int len = MIN(CHAT_MAX_LEN, strlen(msg) + 1); pack.bHeader = HEADER_GC_WHISPER; pack.wSize = static_cast<WORD>(sizeof(TPacketGCWhisper) + len); pack.bType = WHISPER_TYPE_SYSTEM; strlcpy(pack.szNameFrom, pinfo->szNameTo, sizeof(pack.szNameFrom)); TEMP_BUFFER buf; buf.write(&pack, sizeof(TPacketGCWhisper)); buf.write(msg, len); ch->GetDesc()->Packet(buf.read_peek(), buf.size()); #else TPacketGCWhisper pack; pack.bHeader = HEADER_GC_WHISPER; pack.bType = WHISPER_TYPE_NOT_EXIST; pack.wSize = sizeof(TPacketGCWhisper); strlcpy(pack.szNameFrom, pinfo->szNameTo, sizeof(pack.szNameFrom)); ch->GetDesc()->Packet(&pack, sizeof(TPacketGCWhisper)); sys_log(0, "WHISPER: no player"); #endif I have to add this: //Find ch->GetDesc()->Packet(&pack, sizeof(TPacketGCWhisper)); sys_log(0, "WHISPER: no player"); ///Change #ifdef ENABLE_WHISPER_RENEWAL char buf[CHAT_MAX_LEN + 1]; strlcpy(buf, data + sizeof(TPacketCGWhisper), MIN(iExtraLen + 1, sizeof(buf))); if (!(std::string(buf).find("|?whisper_renewal>|") != std::string::npos || std::string(buf).find("|?whisper_renewal<|") != std::string::npos)) { ch->GetDesc()->Packet(&pack, sizeof(TPacketGCWhisper)); sys_log(0, "WHISPER: no player"); } #else ch->GetDesc()->Packet(&pack, sizeof(TPacketGCWhisper)); sys_log(0, "WHISPER: no player"); #endif I tried my best to to no result. I get compiler errors. Any ideeas?
  19. I literally tested the code. As soon as I commented it I could add 6/7 again. (I tested it two or three times). With this fix tou can t add 6/7 (it always fails) using that system. Give it a try yourself I was just as surprised.
  20. I have this in input_main: /*Info*/ TPacketGCWhisper pack; int len = MIN(CHAT_MAX_LEN, strlen(msg) + 1); pack.bHeader = HEADER_GC_WHISPER; pack.wSize = static_cast<WORD>(sizeof(TPacketGCWhisper) + len); pack.bType = WHISPER_TYPE_SYSTEM; strlcpy(pack.szNameFrom, pinfo->szNameTo, sizeof(pack.szNameFrom)); TEMP_BUFFER buf; buf.write(&pack, sizeof(TPacketGCWhisper)); buf.write(msg, len); ch->GetDesc()->Packet(buf.read_peek(), buf.size()); #else TPacketGCWhisper pack; pack.bHeader = HEADER_GC_WHISPER; pack.bType = WHISPER_TYPE_NOT_EXIST; pack.wSize = sizeof(TPacketGCWhisper); strlcpy(pack.szNameFrom, pinfo->szNameTo, sizeof(pack.szNameFrom)); ch->GetDesc()->Packet(&pack, sizeof(TPacketGCWhisper)); sys_log(0, "WHISPER: no player"); #endif How do I insert this part: //Find ch->GetDesc()->Packet(&pack, sizeof(TPacketGCWhisper)); sys_log(0, "WHISPER: no player"); ///Change #ifdef ENABLE_WHISPER_RENEWAL char buf[CHAT_MAX_LEN + 1]; strlcpy(buf, data + sizeof(TPacketCGWhisper), MIN(iExtraLen + 1, sizeof(buf))); if (!(std::string(buf).find("|?whisper_renewal>|") != std::string::npos || std::string(buf).find("|?whisper_renewal<|") != std::string::npos)) { ch->GetDesc()->Packet(&pack, sizeof(TPacketGCWhisper)); sys_log(0, "WHISPER: no player"); } #else ch->GetDesc()->Packet(&pack, sizeof(TPacketGCWhisper)); sys_log(0, "WHISPER: no player"); #endif No matter what I try I get compiler error...
  21. Just save the stat points added by the player leveling up instead of counting those added by gear and use that to chek if player has enough. Or do something like add the stats given by gear in a different place.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.