Jump to content

gweilo321

Inactive Member
  • Posts

    45
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by gweilo321

  1. Thanks alot. So in your bonus.php most of the bonuses are included? And is it possible to get the stones from the items aswell?
  2. Thanks! Thats what i been looking for. So it looks like theyre coming from item_attr and the attrype is just the order in the database. Thanks.
  3. So in the database 'item' you have all of the items that every player has in their inventory. Is it possible to also read the bonuses of those items into php for example?
  4. Hi guys, does anyone know what type of hashing is now used in metin2 website for their servers? Or is there a way to change the password hashing on the server? Ive heard that using the SQli function PASSWORD() on your website is quite dangerous now. So what type of hashing are they using now?
  5. SYSERR: May 5 03:57:36 :: SpawnMob: SpawnMob: no mob data for vnum 0 SYSERR: May 5 03:57:36 :: Summon: [CMountActor::Summon] Failed to summon the mount. (vnum: 0) SYSERR: May 5 03:57:36 :: Summon: [CMountSystem::Summon(-2074967294)] Null Pointer (mountVID) What could be causing this error? It happens when i try to mount it, but nothing happens and i get this in syserr.
  6. Thanks. Do you think its a safe way to do it? I mean its still checking for IMPLEMENTOR.
  7. Yes we do. It set to GM_IMPLEMENTOR. And yes thats how it is. But also what i want to achieve is to put into logs that a NON GM PLAYER has tried to use this command. But with the code i applied in my topic it doesnt work.
  8. Hi guys, so im trying to put into a HackLog for example, and log if someone that is not GM, just a player uses a command /shutdown. ACMD(do_shutdown) { if (!ch->IsGM()) LogManager::instance().HackLog("Used /shutdown command.", ch); return; if (NULL == ch) { sys_err("Shutdown started by %s.", ch->GetName()); } TPacketGGShutdown p; p.bHeader = HEADER_GG_SHUTDOWN; P2P_MANAGER::instance().Send(&p, sizeof(TPacketGGShutdown)); Shutdown(10); } But its not working.. It keep says ingame that Command is not valid, and nothing goes into the log. Help
  9. How do i set up a timer for example 2 minutes or 2 days in quest, then check if it has ended. And when i open the quest it shows me how much is left on the timer?
  10. its enabled as well. Do i have to move some of the functions to Login def?
  11. I wanted to remove the server list from intrologin.py so self.serverBoard.Show() to self.serverBoard.Hide() But for some reason the channel list shows as this and i cannot choose the channel, or even connect to the server. Any ideas what else i need to change?
  12. I am currently using a Skill Choose system that automatically pops up a window to choose your skills. That is now used in most of the servers. My question is, that when i get lv 5, and i choose my skills i dont get the 4 skill points as always. Only from lv 6 i get a 1 point. My second question is, how to add an image for e.g Archer Blade IMAGE1 Image 2 For example something like this.
  13. Could someone explain to me how to change the colours of .mse file? For example this is the level up effect, and this one is green. How do i properly change this colour format to, e.g red. List TimeEventColorRed { 0.002564 0.407843 0.912821 0.000000 0.992308 0.000000 } List TimeEventColorGreen { 0.002564 1.000000 0.912821 0.000000 0.992308 0.000000 } List TimeEventColorBlue { 0.002564 0.000000 0.912821 0.000000 0.992308 0.000000 } List TimeEventAlpha { 0.600000 1.000000 0.800000 0.700000 1.000000 0.000000 }
  14. Could someone explain to me how to change the colours of .mse file? For example this is the level up effect, and this one is green. How do i properly change this colour format to, e.g red. List TimeEventColorRed { 0.002564 0.407843 0.912821 0.000000 0.992308 0.000000 } List TimeEventColorGreen { 0.002564 1.000000 0.912821 0.000000 0.992308 0.000000 } List TimeEventColorBlue { 0.002564 0.000000 0.912821 0.000000 0.992308 0.000000 } List TimeEventAlpha { 0.600000 1.000000 0.800000 0.700000 1.000000 0.000000 }
  15. I'll have a read about this. Are there way to unpack that as well? Thanks for the reply.
  16. Since source its quite stupid to put stuff into the root files because its quite easy to unpack and change codes. I am no pro at this. But when i unpacked couple of servers, most of their root files like game.py/serverinfo.py/constinfo.py are gone. And my question is how is this done? Are they putting these files into Client binrary?
  17. Hi guys im looking for code or something to get the live chat from ALL in game to a website. Basically ALL chat from game that will be appearing on the website.
  18. Hi guys, is it possible to make an information box for example " Todays info: Todays an Event OX!" which would be downloaded from mysql, where the admin could change it on the website? Could this done?
  19. Hi guys i am searching for timer when you log in, spinning characters in select and if its exists when you open a dialog or even refine the background gets blurry and only the dialog stays normal. Thanks
  20. Hi guys ive set up for pet summon after teleport, but when i unsummon the pet with item and then i teleport the pet shows up. Could you help to set this up for the pet only to show when i summon him with an item so it wont summon all the time without the item. -- # --------------------------------------------- # -- # Questfile from Metin2SF by Ethoard # -- # --------------------------------------------- # quest pet_system begin state start begin function get_pet_info(itemVnum) pet_info_map = { [53001] = {34001, "Ognisty Feniks", 0}, [53002] = {34002, "Ma³y Reniferek", 0}, [53003] = {34003, "Lodowy Feniks", 0}, [53005] = {34004, "Azraeluœ ", 1}, [53006] = {34009, "Z³oty Azraeluœ ", 1}, [53007] = {34010, "Bambi", 0}, [53008] = {34011, "Knuud", 0}, [53009] = {34012, "Bao Bao", 0}, [53010] = {34008, "Leonidas", 0}, [53011] = {34007, "Ethan", 0}, [53012] = {34005, "Boczuœ ", 0}, [53013] = {34006, "Rufus", 0}, [53014] = {34021, "Kurczaczek", 0}, [53015] = {34017, "Polarny Boczuœ ", 0}, [53016] = {34015, "Kostek", 0}, } itemVnum = tonumber(itemVnum) return pet_info_map[itemVnum] end function get_spawn_effect_file(idx) effect_table = { [0] = nil, [1] = "d:\\\\ymir work\\\\effect\\\\etc\\\\appear_die\\\\npc2_appear.mse", } return effect_table [idx] end when login with pc.getqf("pet_vnum") != 0 begin if pc.get_map_index() == 113 then pet.unsummon(mobVnum) pc.setqf("pet_vnum, 0") else item.select(pc.getqf("pet_item_id")) pet.summon(mobVnum, " ".. petName, false) pc.setqf("pet_vnum", mobVnum) end end when 53001.use or 53002.use or 53003.use or 53005.use or 53006.use or 53007.use or 53008.use or 53009.use or 53010.use or 53011.use or 53012.use or 53013.use or 53014.use or 53015.use or 53016.use begin if pc.get_map_index() == 113 then syschat("Zwierzaki s¹ zablokowane na Konkursie OX.") else local pet_info = pet_system.get_pet_info(item.vnum) pc.setqf("pet_item_id", item.get_id()) if null != pet_info then local mobVnum = pet_info[1] local petName = pet_info[2] local spawn_effect_file_name = pet_system.get_spawn_effect_file(pet_info[3]) if true == pet.is_summon(mobVnum) then if spawn_effect_file_name != nil then pet.spawn_effect (mobVnum, spawn_effect_file_name) end pet.unsummon(mobVnum) pc.setqf("pet_vnum, 0") else if pet.count_summoned() < 1 or pc.is_gm() then pet.summon(mobVnum, " ".. petName, false) pc.setqf("pet_vnum", mobVnum) else syschat("Nie mo¿esz przywo³aæ kilku zwierzaków.") end if spawn_effect_file_name != nil then pet.spawn_effect(mobVnum, spawn_effect_file_name) end end end end end end end -- # --------------------------------------------- # -- # Questfile from Metin2SF by Ethoard # -- # --------------------------------------------- # quest pet_system begin state start begin function get_pet_info(itemVnum) pet_info_map = { [53001] = {34001, "Ognisty Feniks", 0}, [53002] = {34002, "Ma³y Reniferek", 0}, [53003] = {34003, "Lodowy Feniks", 0}, [53005] = {34004, "Azraeluœ ", 1}, [53006] = {34009, "Z³oty Azraeluœ ", 1}, [53007] = {34010, "Bambi", 0}, [53008] = {34011, "Knuud", 0}, [53009] = {34012, "Bao Bao", 0}, [53010] = {34008, "Leonidas", 0}, [53011] = {34007, "Ethan", 0}, [53012] = {34005, "Boczuœ ", 0}, [53013] = {34006, "Rufus", 0}, [53014] = {34021, "Kurczaczek", 0}, [53015] = {34017, "Polarny Boczuœ ", 0}, [53016] = {34015, "Kostek", 0}, } itemVnum = tonumber(itemVnum) return pet_info_map[itemVnum] end function get_spawn_effect_file(idx) effect_table = { [0] = nil, [1] = "d:\\\\ymir work\\\\effect\\\\etc\\\\appear_die\\\\npc2_appear.mse", } return effect_table [idx] end when login with pc.getqf("pet_vnum") != 0 begin if pc.get_map_index() == 113 then pet.unsummon(mobVnum) pc.setqf("pet_vnum, 0") else item.select(pc.getqf("pet_item_id")) pet.summon(mobVnum, " ".. petName, false) pc.setqf("pet_vnum", mobVnum) end end when 53001.use or 53002.use or 53003.use or 53005.use or 53006.use or 53007.use or 53008.use or 53009.use or 53010.use or 53011.use or 53012.use or 53013.use or 53014.use or 53015.use or 53016.use begin if pc.get_map_index() == 113 then syschat("Zwierzaki s¹ zablokowane na Konkursie OX.") else local pet_info = pet_system.get_pet_info(item.vnum) pc.setqf("pet_item_id", item.get_id()) if null != pet_info then local mobVnum = pet_info[1] local petName = pet_info[2] local spawn_effect_file_name = pet_system.get_spawn_effect_file(pet_info[3]) if true == pet.is_summon(mobVnum) then if spawn_effect_file_name != nil then pet.spawn_effect (mobVnum, spawn_effect_file_name) end pet.unsummon(mobVnum) pc.setqf("pet_vnum, 0") else if pet.count_summoned() < 1 or pc.is_gm() then pet.summon(mobVnum, " ".. petName, false) pc.setqf("pet_vnum", mobVnum) else syschat("Nie mo¿esz przywo³aæ kilku zwierzaków.") end if spawn_effect_file_name != nil then pet.spawn_effect(mobVnum, spawn_effect_file_name) end end end end end end end
  21. Hi guys i fount quest on deamon tower timer but its pretty old and i am getting an error the quest :
×
×
  • 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.