Jump to content

speppoz

Inactive Member
  • Posts

    8
  • Joined

  • Last visited

  • Feedback

    0%

About speppoz

Informations

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

speppoz's Achievements

Apprentice

Apprentice (3/16)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

7

Reputation

  1. Hi guys! I'm trying to find in source files a point where I can initialize a new table in player called player.mount. I would like to take the character id at it creation and do an INSERT INTO query into the new table. I need to do it only once. Does anyone know where I can find the query which initializes the character for the first time?
  2. Hi all! Months ago I updated the my client source because I wanted to compile it with Visual Studio 2017 and I haven't had problems. These days I needed to compile it again and it gave me a linking error saying: "libjpeg-6bMT.lib(jerror.obj) : error LNK2001: unresolved external symbol ___iob_func". I tryed to do a lot of thing written in various posts but they didn't solve the problem. Can someone help me here or via skype please? Edit: I don't know if it's better or not but now I have these errors: 16>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_std_error 16>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_CreateCompress 16>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_CreateDecompress 16>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_destroy_compress 16>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_destroy_decompress 16>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_stdio_src 16>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_set_defaults 16>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_set_quality 16>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_start_compress 16>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_write_scanlines 16>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_finish_compress 16>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_read_header 16>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_start_decompress 16>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_read_scanlines 16>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_finish_decompress
  3. Thanks for your reply! I will apply that to the quest but the problem was about the switching of the quest flag between 0 and 1. I don't see nothing in chat when I press the button. I don't think that this is the best advice. I don't mean me but all. I think everyone has to make his experience and you can learn also by making mistakes. Don't judge people. Help them if you really want to be usefull and you will be respected. Take that like a friend advice P.s.: I have already do that by Letter but I decided to do it by button
  4. Hi all! I followed the guide at that link about the connection between client and quest: [Hidden Content] But when I press the button in game, nothing happens in the quest! If I do it only on a graphical point of view, the button reacts to the click, but it doesn't get the anti exp active. This is my code added for the quest: game.py: def OnClickBlockExp(self): event.QuestButtonClick(int(constInfo.BLOCK_EXP)) ---------------------------------------------------------------------------------------------------------------- def __ServerCommand_Build(self): serverCommandList={ "blocco_exp" : self.blocco_exp, ---------------------------------------------------------------------------------------------------------------- def blocco_exp(self,value): constInfo.BLOCK_EXP = int(value) quest: quest anti_exp begin state start begin when login begin cmdchat("blocco_exp "..q.getcurrentquestindex()) if pc.getqf("blocco_exp") == 1 then pc.setqf("exp_pc",pc.get_exp()) chat("[Blocco Esperienza] - Attivato!") elseif pc.getqf("blocco_exp") == 0 then chat("[Blocco Esperienza] - Disattivato!") end end when button or info begin if pc.getqf("blocco_exp") == 0 then pc.setqf("blocco_exp", 1) pc.setqf("exp_pc",pc.get_exp()) chat("[Blocco Esperienza] - Attivato!") elseif pc.getqf("blocco_exp") == 1 then pc.setqf("blocco_exp", 0) chat("[Blocco Esperienza] - Disattivato!") end end when kill with not npc.is_pc() begin if pc.getqf("blocco_exp") == 1 then pc.give_exp2(pc.getqf("exp_pc")-pc.get_exp()) end end end end Could someone tell me why it doesn't work please?
  5. [Hidden Content] So i can implement a function or try to do it in a different way.. Meanwhile I will work on it and if it will works I will share it Edit: I think the problem is in characterwindow.py. Pheraps it is written in a bad way but I don't know why.. Edit_2: I managed to insert the buttons in the bonus page area and when I click on them they give me a blank page how did I expect. Now I will try to show the correct content after the click. If someone want to help me I can share the code
  6. Hi all! I'm trying to do a bonus page inside the character window but with more pages. For example one player has to press C or V or B or N, then left click on 'BONUS' (on the right of 'QUEST') and then he can click on various buttons inside the bonus page. If I put only 1 page with no other buttons in the bonus page it works, but if I try to insert them it gives me the error: uiCharacter.py(line:424) __LoadWindow uiCharacter.py(line:161) __LoadScript ui.py(line:2854) LoadScriptFile ui.py(line:3072) CheckKeyList CharacterWindow.__LoadWindow - <type 'exceptions.AttributeError'>:'tuple' object has no attribute 'has_key' 0214 14:44:17942 :: ============================================================================================================ 0214 14:44:17942 :: Abort!!!! Can someone help me please? ui.py characterwindow.py uicharacter.py
  7. Hi all! I saw a post on the forum about "[C++]Reload map regens ingame" and I want to ask you a question: can i do that in lua too? I have to reload the regen ingame when I start, for example, the Halloween Event and so to spawn Jack Pumpkin. If I use regen_in_map, when I restart the machine, that NPC will disappears, so I need to have your /reload_regen in lua funcion after a changing on the regen of the village from WinSCP. Thanks in advance!
×
×
  • 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.