Jump to content

avertuss

Inactive Member
  • Posts

    480
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by avertuss

  1. Hi. Is that possible to add bonus to all guild members in source?
  2. Hi. How works bonus from guild skills? I see in database that the skills are in skill_proto so skill id = 157, bonus = casting_speed, value? 50*k, k in skill_power.txt = 17 on max lvl(7). 50*17=850 so how in game this skill add 50% casting speed? Can you explain me that?
  3. I'm not sure. That quest in original version works on player.player table. I want move these points to player_arena but as you see it doesn't work. Imo i need one more argument in query or something to add nickname to new table.
  4. Still the same. I think that it doesn't work because i don't have query to add nickname to name column but i'm not sure.
  5. Hi. I have when kill with npc.is_pc() and pc.get_map_index() == 41 begin local points = query("SELECT points from player.player_arena WHERE name = '"..pc.get_name().."';") local namet = pc.get_name() local levt = pc.get_level() local vid = npc.get_vid() local old_pc = pc.select(vid) if old_pc != 0 then local lev = pc.get_level() local name = pc.get_name() query("UPDATE player.player_arena SET deaths = deaths+1 where name = '"..name.."';") pc.select(old_pc) if lev == levt then pkt = 2 query("UPDATE player.player_arena SET points = points+"..pkt.." WHERE name = '"..namet.."';") local points1 = query("SELECT points from player.player_arena WHERE name = '"..pc.get_name().."';") chat("2 points") chat("You have: "..points1.." points.") query("UPDATE player.player_arena SET kills = kills+1 WHERE name = '"..namet.."';") elseif lev > levt then pkt = 3 query("UPDATE player.player_arena SET points = points+"..pkt.." WHERE name = '"..namet.."';") local points1 = query("SELECT points from player.player_arena WHERE name = '"..pc.get_name().."';") chat("3 points") chat("You have: "..points1.." points.") query("UPDATE player.player_arena SET kills = kills+1 WHERE name = '"..namet.."';") elseif lev < levt and lev >= levt-5 then pkt = 1 query("UPDATE player.player_arena SET points = points+"..pkt.." WHERE name = '"..namet.."';") local points1 = query("SELECT points from player.player_arena WHERE name = '"..pc.get_name().."';") chat("1 point") chat("You have: "..points1.." points.") query("UPDATE player.player_arena SET kills = kills+1 WHERE name = '"..namet.."';") else chat("0 points") end end end My player_arena table looks like I don't know why but query doesn't work, i have still empty table. In syserr i have attempt to concatenate local `points1' (a nil value)
  6. Hi. I have quest(tp to friend) quest teleport_to_player begin state start begin when login begin cmdchat("teleport "..q.getcurrentquestindex()) end when button or info begin if get_time() < pc.getqf("duration_tp") then return end sname = getinput("getinput") if sname == "" then return end local u_vid = find_pc_by_name(sname) local m_vid = pc.get_vid() if u_vid == 0 then return end local m_name = pc.name local old = pc.select(u_vid) local x,y = pc.get_x()*100,pc.get_y()*100 local is_blocked = pc.getf("teleport_to_player_block", m_name) pc.select(old) if u_vid == m_vid then return end if is_blocked == 1 then syschat("Player: "..sname.." blocked tp.") else local ok_sign = confirm(u_vid, string.format("Player "..m_name.." wants tp.", pc.name), 30) if ok_sign == CONFIRM_OK then pc.setqf("duration_tp",get_time()+1*5*1) pc.warp(x,y) end end end end end but i don't know how can i make that players can tp only to players from the same guild. Any ideas?
  7. Hi. I need #191508 color in this fucking shit grp.GenerateColor(0.2, 0.2, 0.2, 1.0) but i don't know how. I tried a lot of thinks and i don't have idea.
  8. Hi. I want make item in which time flies only when it is equiped so i'm using TIMER_BASED_ON_WEAR but item disappear after 1 minute. Any ideas? I want to make item for 8 hours. 71135 "71135" "ITEM_UNIQUE" "UNIQUE_NONE" 1 "NONE" "NONE" "WEAR_SHIELD" "NONE" 0 0 0 0 0 "TIMER_BASED_ON_WEAR" 28800 "LIMIT_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 0 0 0 0 0 0 0 0 0
  9. It works. Thank you. Omg why metin is so stupid XD
  10. I'm using txt protos. I hate proto i navicat. When i have item_stackable i can't add/change bonus with them because i don't have green background on item if you know what i mean. I have red. If i don't have item_stackable it works well so idk. I had original values 71051,71052 and the same error so i change values to 35122, 32123 but still the same. I don't know what happend. Item_stackable make that these items doesn't work.
  11. I. I have 6/7 35122 "35122" "ITEM_USE" "USE_SPECIAL" 1 "NONE" "LOG | STACKABLE" "NONE" "NONE" 0 0 0 0 0 "LIMIT_NONE" 0 "LIMIT_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 0 0 0 0 0 0 0 0 0 35123 "35123" "ITEM_USE" "USE_SPECIAL" 1 "NONE" "LOG | STACKABLE" "NONE" "NONE" 0 0 0 0 0 "LIMIT_NONE" 0 "LIMIT_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 0 0 0 0 0 0 0 0 0 I want to make them stackable so i make it like that 35122 "35122" "ITEM_USE" "USE_SPECIAL" 1 "NONE" "LOG | ITEM_STACKABLE" "NONE" "NONE" 0 0 0 0 0 "LIMIT_NONE" 0 "LIMIT_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 0 0 0 0 0 0 0 0 0 35123 "35123" "ITEM_USE" "USE_SPECIAL" 1 "NONE" "LOG | ITEM_STACKABLE" "NONE" "NONE" 0 0 0 0 0 "LIMIT_NONE" 0 "LIMIT_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 0 0 0 0 0 0 0 0 0 but when i have item_stackable 6/7 bonus doesn't work. Any ideas?
  12. I need 2014/2015 locale_en. Someone can upload me?
  13. Hi. how can i disable yang bomb? It's drop a lot of yang from mob with boss type etc.
  14. Hi, how can i make pickup commands? I wanted do it like emotions but i forgot that pickup animation is in other folder. I want use in quest command("pickup") or something like that. I found this but it's not for quest use.
  15. Hi. I added new map but i have property errors 0703 20:38:14801 :: CArea::LoadObject Property(2101881193) Load ERROR 0703 20:38:14801 :: CArea::LoadObject Property(2627009095) Load ERROR 0703 20:38:16033 :: CArea::LoadObject Property(1601001901) Load ERROR 0703 20:38:16253 :: CArea::LoadObject Property(710490145) Load ERROR 0703 20:38:16253 :: CArea::LoadObject Property(801773336) Load ERROR 0703 20:38:16253 :: CArea::LoadObject Property(1098027084) Load ERROR 0703 20:38:16253 :: CArea::LoadObject Property(1098027084) Load ERROR 0703 20:38:16253 :: CArea::LoadObject Property(1438485573) Load ERROR 0703 20:38:16253 :: CArea::LoadObject Property(2101881193) Load ERROR 0703 20:38:16253 :: CArea::LoadObject Property(2101881193) Load ERROR 0703 20:38:16253 :: CArea::LoadObject Property(2266660253) Load ERROR 0703 20:38:16253 :: CArea::LoadObject Property(3104473707) Load ERROR 0703 20:38:16253 :: CArea::LoadObject Property(3133340257) Load ERROR 0703 20:38:16253 :: CArea::LoadObject Property(3949842369) Load ERROR 0703 20:38:16253 :: CArea::LoadObject Property(3949842369) Load ERROR 0703 20:38:17492 :: CArea::LoadObject Property(3104473707) Load ERROR 0703 20:38:17492 :: CArea::LoadObject Property(3133340257) Load ERROR 0703 20:38:17492 :: CArea::LoadObject Property(4281053806) Load ERROR How can i find these models names? I want delete or add that models but i don't know name or something.
  16. 85019 JOB_ASSASSIN M 73 73 73 0 0 0.24 85019 JOB_ASSASSIN F 54 65 62 0 0 0.38 85019 JOB_SHAMAN M 78 78 78 0 0 0.2 85019 JOB_SHAMAN F 62 62 62 0 0 0.45 85019 JOB_SURA M 85 85 85 0 0 0.15 85019 JOB_SURA F 62 62 62 0 0 0.45 85019 JOB_WARRIOR M 83 83 83 0 0 0.14 85019 JOB_WARRIOR F 72 75 72 0 0 0.26 with this the same.
  17. Hi. I wanted to add new sash but ingame it looks like Someone can help me? I use sash with item_scale.
  18. Hi. I'm searching simple autopatcher. All links are down ;/
  19. Hi. I have question. How can i delete this "error" Sometimes I'm getting this "error" after closing client. I was looking for this error in client source but i saw nothing.
  20. Hi. i have error when i want to compile his source Any ideas?
  21. How can i download v140_xp toolset for vs 2015? I don't have ;/ + how can i change licence?
×
×
  • 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.