Jump to content

Search the Community

Showing results for tags 'lua'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Metin2 Dev
    • Announcements
    • Pillory
    • Praises / Complaints
    • Feedback / Suggestions
  • Community
    • Member Representations
    • Off Topic
    • Music / Videos / Art
  • Metin2
    • General
    • Private Servers
  • Help Area
    • Questions & Answers
    • Frequently Asked Questions
  • Releases
    • Basic Tutorials / Beginners
    • Guides & HowTo
    • Binaries & Clients / ServerFiles
    • Programming & Scripts / Systems
    • Tools
    • Maps
    • Quests
    • 3D Models
    • 2D Graphics
    • Operating Systems
    • Others
  • Marketplace
    • Join the Marketplace - Sales & Services
    • Searching
  • Temporary
    • Temporary

Product Groups

  • Advertisements
  • Advertisements - Pack

Categories

  • Scripts & Systems
  • Models
  • Designs
  • Maps
  • Websites
  • Hosting
  • Others

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Status


Nationality


test


Skype


Discord


Website


Mapping


Music / Audio


3D


2D


C++


C#


C


LUA


Python


PHP


SQL


HTML


CSS


JavaScript


Java


FreeBSD


Windows

  1. Hi Metin2Dev, I need help with this: 20:20:57.867740 :: RunState: LUA_ERROR: locale/hungary/quest/object/state/mb_igshop:984: attempt to call field `give_item_with' (a nil value) SYSERR: Oct 30 20:20:57.867829 :: WriteRunningStateToSyserr: LUA_ERROR: quest mb_igshop.start click This happens when someone buys the product I am offering for sale and wants to take it out or when I just want to smoothly withdraw a sale. Please help me! Thanks! Have a nice day!
  2. Hello , i'm searching for someone who can do a PvP Ranking for me The system will count kill . The panel will be in 5 parts : ALL Ranking [ Position in the ranking ] ; [ Icon of race ] ; [ Name of player ] ; [ Flag Empire ] ; [ Kill ] Lycan Ranking same Warrior Ranking same Ninja Ranking same Sura Ranking same Shaman Ranking same The top 1/2/3 of the ALL Rank
  3. Version of Files : 40k Hello Devs I'm doing an event where I need to invoke the npc. Example: regen_in_map(41, "data/events/fimdeano/npc3.txt") regen_in_map(21, "data/events/fimdeano/npc2.txt") regen_in_map(1, "data/events/fimdeano/npc1.txt") Invokes npc normally The problem is that the npc disappears after a few seconds. My regen npc1.txt m 682 596 0 0 0 6 5184000s 100 1 20031 Thanks
  4. hello, its possible to give player a exp percent not exp in value? like pc.give_exp(50%)
  5. Hey! I have added 1 new function in c++ to put an object into mysql. But game.core is created. Someone can help me? I tested the function, I tried the feature manually. int pc_give_au_item(lua_State* L) { if (!lua_isnumber(L, 1) || !lua_isnumber(L, 2)) { sys_err("QUEST give au_item call error : wrong argument"); lua_pushnumber(L, 0); return 1; } LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); //int icount = (int)lua_tonumber(L, 2); DWORD dwVnum = (int)lua_tonumber(L, 1);
  6. This is a list of 680 functions you can use in your quests. And you can create your own if you have knowledge of C++ and the sourcecode. addimage addmapsignal add_bgm_info add_goto_info add_ox_quiz affecr.remove_all_collect affect.add affect.add_collect affect.add_collect_point affect.add_hair affect.remove affect.remove_bad affect.remove_collect affect.remove_good affect.remove_hair arena.add_map arena.add_observer arena.get_duel_list arena.is_in_arena arena.start_duel ba.start block_chat bool_to_str building.get_land_id building.get_land_info building.has_land building.recon
  7. I've noticed this one since the beginning but for some reason I've been waiting until now to ask. Let's say I'm writing a dialog with NPC X and when I click on it I want it to say: Hi, how are you today; So I'm writing the classic when XXXXXX.chat."Hi, how are you today;" and I'm compiling but when I click in the game the ; is missing! So it just says: Hi, how are you today I haven't yet find what filters the character so I'm asking you. I've looked in questlua.cpp and questlua_global.cpp but didn't find anything. If anyone knows I'm also trying to find a
  8. I was never too familliar with LUA even if it seems easy. So I wanted to ask the experts a few questions. I have this function: game.drop_item_with_ownership(item_vnum) In the system the dropped item stays on the ground for 3 minuets, while character ownership ends after the first minute. Therefore the item stays on the ground without an owner for 2 minutes and then it dissapears. How do I make the ownership for this item only last forever (until it dissapears)? Another question I have is about the chance for the item to drop. Let's say I need the item to have 20% chance of dr
  9. The most strange thing is happening. The function npc.get_level returns NOTHING!!! It exists in the source, it exists in quest_functions file, but when I call it, I get nothing. I used it as: when kill begin ... say(npc.get_level) ... end and in source I tried the default: int npc_get_level(lua_State* L) { lua_pushnumber(L, CQuestManager::instance().GetCurrentNPCCharacterPtr()->GetLevel()); return 1; } and Ken way: int npc_get_level(lua_State * L) { LPCHARACTER npc = CQuestManager::instance().GetCurrentNPCCharacterPtr(); lua_pushnumb
  10. Hi there devs! I am trying to copy the teleporter quest from the official servers. My only issue is, the yang required to teleport based on player's level. Any ideas? Best regards, Cara
  11. WoM2 is looking for a quest programmer with a good knowledge of both Lua/Aargscript and English language to write quests and to develop events together with our game design team and the source developers. You must be over 18 years of age, be familiar with the game, have a reasonably free schedule, and above all creativity. Extensive programming skills are not necessary, but having some degree of fluency writing English texts is more relevant; therefore, custom functions can be developed at your request by the source developers. We offer a competitive pay and a professional, e
  12. Hello. I need help. I need to open the quest window after a certain time in the game. How can i do this? For example, I stood for 5 minutes in the game, and I have a quest window with the words "Hello"
  13. hey, i need a new Function to load from account.account field: some_text can someone help? and use on quest like local get_text = pc.get_some_text if get_text = "koxmen" then else end
  14. Search developer python + lua + C++ contact me here or skype: xxdarkwindxx
  15. Hi all! I followed the guide at that link about the connection between client and quest: https://metin2dev.org/board/index.php?/topic/1698-howtooldquest-client-communicationfor-any-version/ 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)) -----------------------------------------------------------
  16. 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!
  17. Hey! Anyone can you send me, metin2 Deutsch quests, with normale say? I need: Thanks!!
  18. Hello, I have this problem in this quest. SYSERR: Oct 21 16:30:06 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: main_quest_lv2_2 pc: Ario) Can somebody help me? quest main_quest_lv2_2 begin state start begin end state run begin when login or levelup or enter with pc.get_level() >= 2 begin set_state ( gotoinfomation ) end end state gotoinfomation begin when letter begin if (pc.get_empire()==2) then local v=find_npc_by_vnum(20355)
  19. Good Evening, 0330 18:32:02716 :: Traceback (most recent call last): 0330 18:32:02716 :: File "uiInventory.py", line 557, in OnUpdate 0330 18:32:02716 :: AttributeError 0330 18:32:02716 :: : 0330 18:32:02716 :: 'int' object has no attribute 'DisableSlotCoverImage' 0330 18:32:02716 :: Code: def OnUpdate(self): # self.RefreshBagSlotWindow() for i in xrange(player.INVENTORY_PAGE_SIZE): GlobalSlot = self.__InventoryLocalSlotPosToGlobalSlotPos(i) if player.GetItemLook(GlobalSlot): self.wndItem.EnableSlotCoverImage(i)
  20. Hello guys, i have problem with server_timer or server_loop_timer, It do not make no signal, it dont work and game going crash after 1 second. QUEST: quest server_timer begin state start begin when 9003.chat."srv_timer" begin server_timer("shit", 1, pc.get_map_index()) --server_timer("shit", 1) say("You have now server timer apply.") end when shit.server_timer begin chat("ok") end end end But after 1 second it dont do nothing, when i use only server_timer("shit", 1) too not work, but when i chan
  21. Hello, I have a question. How can i add simple "new" bonus like "strong vs metinstones/boss-monster" It's important for me. =) Thank you.
  22. Hello guys. I have a problem with my quest text. When i open either quest and i click to okay, the quest text is doesnt dissapear.... I attach a pic. Thanks in advance.
  23. Hello everyone I need know if exist the function with attack mob count the hits.
  24. Hi my problem is when i put words with accents in the quest or the client .py files and in game not show I need an function or other same? Can someone help me? Thx
  25. Hello devs, as you may have noticed I'm one of the noobiest devs around here so I need your help today don't worry it's something simple Alright so I need a simple LUA function. I have this array of skills and I want to check if some of them is Perfect Master and if it's not then say("You can't do this until one of these skills are Perfect Master and blah blah blah...") Just that So thank you in advance guys I appreciate every comment I get EDIT: I got it don't worry about it
×
×
  • 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.