-
Posts
27 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by [RaffaeL]
-
-
I just saw your question, and...I've created a small csharp app in minutes to do the trick:
I immediately edit my post with the link to the application, just finish it a bit.
And the download link is:
Virus total if needed :
- 9
- 1
- 2
- 2
- 7
-
Acum 7 ore, displayjokes a spus:
Hi!
I was implementing new mounts on my server and i wanted to implement the same mount 2 or 3 times with diferent textures.
For example i have a monster that is in a folder called lion, and i implemented that monster correctly, it shows up in the game, everything working fine.
Now i want to make a monster with the exact same folder but different textures. So i copied the lion folder and renamed it for lion_black, i changed the texture path on the lion.gr2 model and also changed the paths inside the .msm and .msa files inside the lion_black folder to be not \lion\... to \lion_black\... like this:
and when i put in the game, when i'm going to do /m mob_id gives me this error on syserr and i noticed it is still trying to get the \npc\lion\lion.msm instead of \npc\lion_black\lion.msm
Here's a print with the original names: (it is leone_baso, and i'm trying to make a monster with the same exact folder by changing to leone_baso_black)
Anyone can help me with this please?
Any help is appreciated!
Thank you!
Did you also added into root/npc_list, the new location for that NPC?
- 1
-
Your "gold" and "shop_buy_price" have the same value?
- 1
-
That's bcs it loads belt's expand button.
Comment that and you're done.
-
Acum 11 ore, Iηfιηιт²⁴ᵏ a spus:
You're the boss of the money!
Ty.
but if I want to put the chance to the items?
Then, you can add a local like ...idk "local chance = number(1, 100)"-> if chance <= yournumber then pc.give_item2(youritem).
This is only an example, you have to properly add to your quest.
Best regards.
-
La 21.12.2018 la 20:50, Iηfιηιт²⁴ᵏ a spus:
how do I put a limit of lv drop in this quest
If i have lv 120 and i kill 55706 i'm getting the item,and i want drop item only +- 10 level difference
here is the quest
Try this(it's your quest, with minor changes )
Spoilerquest puntos_boss_kill2 begin state start begin when login begin cmdchat("DnD1 "..q.getcurrentquestindex()) end when 55706.kill or 55707.kill or 55708.kill or 55709.kill or 2598.kill or 2493.kill or 2491.kill or 2492.kill or 2192.kill or 2206.kill or 1091.kill or 1093.kill or 1901.kill or 2092.kill or 2094.kill or 1304.kill or 1192.kill or 691.kill begin local boss_kill = { [55706] = {x,40494,1,"Scroafa Eveniment"}, [55707] = {x,40494,1,"Chuong Eveniment"}, [55708] = {x,40494,1,"Orc Sef Eveniment"}, [55709] = {x,40494,1,"Generalul Yonghan Event"}, [2598] = {x,40494,1,"Azrael"}, [2493] = {x,40494,1,"Dragon Albastru"}, [2491] = {x,40494,1,"Capitanul Yonghan"}, [2492] = {x,40494,1,"Generalul Yonghan"}, [2192] = {x,40494,1,"Testoasa Desert"}, [2206] = {x,40494,1,"Regele Focului"}, [1091] = {x,40494,1,"Rege Demon"}, [1093] = {x,40494,1,"Ingerul cu Coasa"}, [1901] = {x,40494,1,"Vulpea 9 Cozi"}, [2092] = {x,40494,1,"Regina Paianjen"}, [2094] = {x,40494,1,"Rege Paianjen"}, [1304] = {x,40494,1,"Fantoma Tigrului G."}, [1192] = {x,40494,1,"Regina de Gheata"}, [691] = {x,40494,1,"Orc Sef"} } --[[ where you have to change "x" with your boss level(get that from mob_proto)]]-- local mlvl = boss_kill[npc.get_race()][1] local plvl = pc.get_level() if plvl - mlvl <= 10 or mlvl - plvl <= 10 then pc.give_item2(boss_kill[npc.get_race()][2],boss_kill[npc.get_race()][3]) chat("Ai ucis "..boss_kill[npc.get_race()][4]..", si ai obtinut "..boss_kill[npc.get_race()][3].." punct suprem!") else return end end when button or info begin items = { {["vnum"] = 27992, ["point"] = 40949, ["buy"] = 1, ["req"] = 1}, {["vnum"] = 27993, ["point"] = 40949, ["buy"] = 1, ["req"] = 1}, {["vnum"] = 27994, ["point"] = 40949, ["buy"] = 1, ["req"] = 2}, {["vnum"] = 25041, ["point"] = 40949, ["buy"] = 1, ["req"] = 20}, {["vnum"] = 25040, ["point"] = 40949, ["buy"] = 1, ["req"] = 5}, {["vnum"] = 40495, ["point"] = 40949, ["buy"] = 1, ["req"] = 1}, {["vnum"] = 40496, ["point"] = 40949, ["buy"] = 1, ["req"] = 3}, {["vnum"] = 50512, ["point"] = 40949, ["buy"] = 1, ["req"] = 100}, {["vnum"] = 70031, ["point"] = 40949, ["buy"] = 1, ["req"] = 45}, {["vnum"] = 70024, ["point"] = 40949, ["buy"] = 1, ["req"] = 1}, {["vnum"] = 40480, ["point"] = 40949, ["buy"] = 1, ["req"] = 3}, } items_list = {} info_pct = boss_kill[npc.get_race()][2] for i in items do table.insert(items_list, item_name(items[i]["vnum"])) end table.insert(items_list, "Renunta") say("Premii cu puncte!") say("") say("Salut "..pc.get_name().." aici poti sa cheltui punctele tale") say("pe care le poti castiga distrugand") say("cei mai puternici bosi ai jocului!") say("") say("Fiecare iti va da 1 punct") say("In acest moment ai "..pc.count_item(info_pct).." puncte") say("") say("Ce vrei sa faci?") say("") if select("Cumpara", "Renunta") == 2 then return else say_size(350,350) say("Alege ce obiect doresti:") list = select_table(items_list) if list == table.getn(items_list) then return else item = items[list]["vnum"] point = items[list]["point"] req = items[list]["req"] buy = items[list]["buy"] have = pc.count_item(point) diff_num = req - have say_size(300,350) say_title("Premii cu puncte") say("") say(string.format("Sigur doresti sa cumperi x%s %s?", buy, item_name(item))) say_show_item(item) say("") say(string.format("Sunt necesare: x%s %s", req, item_name(point))) say_show_item(point) say("") if (select("Da", "Nu") == 1) then if pc.count_item(point) < req then say("Premii cu puncte") say("") say("Pentru a face negotul ai nevoie de:") say(string.format("x%s %s", req, item_name(point))) say_show_item(point) say(string.format("Insa tu ai %s ", have)) say(string.format("Revino cand aduni inca %s %s", diff_num, item_name(point))) return else say_title("Premii cu puncte") say("") say("Negot finalizat cu succes! Ai primit:") say("") say(string.format("%sx %s", buy, item_name(item))) say_show_item(item) pc.give_item2(item, buy) pc.remove_item(point, req) end end end end end end end
Pay atention to that little comment into the quest.
Best regards.
- 1
-
La 23.12.2018 la 12:53, filippos1234 a spus:
https://metin2.download/picture/qn89CH2i6yb75Vd1UdC1I4e0zOzPIX2f/.png
when I go to encoding>utf8 it is appearing this error!
any ideas how to solve?
I tried out many server files so its not svfiles problem;/
Did you try to modify anytime the quest? If so, in whitch text editor?
-
La 11.12.2018 la 6:35, HandSome a spus:
Hello, could someone tell me if they are fixes about the duel and group system?
Aldo where i can find the /TWX_SHT on client binary cause i cant find it anywhere ,I scanned all source!
Yes of course there are fixes. And why do you search commands like that one in bin source?
You can find that in game source/cmd.cpp & cmd_general.cpp.
Best regards.
- 1
-
-
Acum 5 ore, kLaf3 a spus:
WEAPON_FAN effect bug or faulty. Please help me.
FAN LOOKING UP.
Weapon_Fan not two hand have.
SERVER DOWN.
SYSERR
1206 02:39:20895 :: Cannot find item by 0
1206 02:41:24250 :: Cannot find item by 0
1206 02:43:25346 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:25363 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:25379 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:25396 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:25412 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26287 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26303 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26319 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26336 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26353 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26370 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26386 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26402 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26419 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26435 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26452 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26468 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26485 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26501 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26518 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26534 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26550 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26568 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26584 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26600 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26617 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26633 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26650 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26666 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26683 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26699 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26716 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26732 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26749 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26765 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26782 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26798 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26815 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26831 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26848 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26864 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26881 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26897 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26914 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26930 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:26947 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:27212 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:27227 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:27244 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:27260 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:27279 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:27293 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:27310 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:27326 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:27344 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:27359 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:27376 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:27392 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:27409 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:43:27425 :: CActorInstance::__RunNextCombo(wComboType=0, wComboIndex=1) - m_pkCurRaceData->GetComboDataPointer(m_wcurMotionMode=9, &pComboData) == NULL
1206 02:44:58251 :: Cannot find item by 0
1206 02:44:58454 :: Cannot find item by 0I USE HORSE EFFECT GONE, SERVER KICK ME AND GAME FREAKING OUT.
INSTANCEBASE.CPP
INSTANCEBASE.H
ROOT/PLAYERSETTINGMODULE.PY
I already give you a tip on another forum...
Anyway,
Search for WEAPON_FAN case into your instancebase.cpp(where you defined the .mde based effects/weapons) and rewrite it as follows:
case CItemData::WEAPON_FAN: if (m_kHorse.IsMounting()) { // add a left_condition & define in header(instancebase.h) the left_effect whatever_you_defined_the_effect = EFFECT_REFINED + YOUR_EFFECT; whatever_you_defined_the_effect_left = EFFECT_REFINED + YOUR_EFFECT_LEFT; } else { whatever_you_defined_the_effect = EFFECT_REFINED + YOUR_EFFECT; } break;
Repeat that for the dagger case.Best regards.
-
Acum 21 minute, Jawwad a spus:
Hi, how I could remove a mesh from granny viewer?
What? What do you mean by removing from GrannyViewer?
-
La 18.10.2018 la 12:10, Traceur3RUN a spus:
can someone fix this bug?
when you have like
something/something/something
then this doesnt work, because dont create folder with lz
only work with
pack/
but dont work if you have
lib/lib/
What do you mean by that?
You want to put only the path to the file, or the whole file?
But you can do that.
Eg. /public_html/patch/client/any folder you want (without writing that full path as url_path to your source code, in Globals.cs, but adding the folder/folders in patchlist)
Best of luck
-
Acum 8 ore, Traceur3RUN a spus:
Hello, i have a problem with quest....
example my quest:
quest test begin state start begin when 1231.chat."test" with pc.getqf("test") == 0 begin pc.setqf("test",1) end end end
when you change character etc
and you have this on database "test" == 1
but in game you still see chat "test"
Even if you use q.done() in your quest?
I mean:
quest test begin state start begin when 1231.chat."test" with pc.getqf("test") == 0 begin pc.setqf("test",1) q.done() end end end
-
1 oră în urmă, AutodesK a spus:
I try with code "instancebase.cpp"
and more code, but i dont know "1000" , "2000", "3000", "4000", "6000"...
case CItemData::WEAPON_DAGGER: if (dwEvolution >= 6000) { m_swordRefineEffectRight = EFFECT_REFINED+EFFECT_SMALLSWORD_EVOLUTION4; m_swordRefineEffectLeft = EFFECT_REFINED+EFFECT_SMALLSWORD_EVOLUTION4_LEFT; } else if (dwEvolution >= 4000) { m_swordRefineEffectRight = EFFECT_REFINED+EFFECT_SMALLSWORD_EVOLUTION3; m_swordRefineEffectLeft = EFFECT_REFINED+EFFECT_SMALLSWORD_EVOLUTION3_LEFT; } else if (dwEvolution >= 2000) { m_swordRefineEffectRight = EFFECT_REFINED+EFFECT_SMALLSWORD_EVOLUTION2; m_swordRefineEffectLeft = EFFECT_REFINED+EFFECT_SMALLSWORD_EVOLUTION2_LEFT; } else if (dwEvolution >= 1000) { m_swordRefineEffectRight = EFFECT_REFINED+EFFECT_SMALLSWORD_EVOLUTION1; m_swordRefineEffectLeft = EFFECT_REFINED+EFFECT_SMALLSWORD_EVOLUTION1_LEFT; } else { m_swordRefineEffectRight = EFFECT_REFINED+EFFECT_SMALLSWORD_REFINED7+refine-7; m_swordRefineEffectLeft = EFFECT_REFINED+EFFECT_SMALLSWORD_REFINED7_LEFT+refine-7; } break;
Make me understand: you want to put that effect for all of your weapons?
Because if not, you should define the effect based on weapon vnum in case(the most easy way).
-
La 21.10.2018 la 23:15, gweilo321 a spus:
Hi i ve added new intrlogin.py but in this one it doesnt show Online or Offline channel. Could someone help me out to just simply add " Online " and "offline status on channels please?
And your intrologin looks like...
-
Acum 8 ore, AutodesK a spus:
Hello Guys!!
I make effect weapons and try to put ingame but doesn't work...
Whoever solves the problem I'll give away this
+7 with transparent normal+8 with transparent move
+9 with transparent move and effect
You need to make changes to the binary source for that, or via python (playersettingmodule.py), but although I haven't tried, I don't think you can put anything other than onehand swords.
-
-
Acum 21 ore, Slime a spus:
Hi, i have a problem with a quest.
The quest is made by me, and i tryed everything to fix it but it wont work.. the quest should be simple, send a letter with some info about the option to change language..
quest changelang begin state start begin when letter begin send_letter_blue_text ( "Language" ) end when button or info begin if pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then say_title("INFORMATION") say("You can change the language of the game") say("by opening the settings menu.") say("We currently have aviable:") say("English") say("Italian") say("Romanian") else say_title("INFORMATION") say("You can change the language of the game") say("by opening the settings menu.") say("We currently have aviable:") say("English") say("Italian") say("Romanian") end send_letter_blue_text ( "Language" ) end end end
I get the letter but it won't open for me to read it when i click it. no errors on compilation, no syserr in client, functions for send_letter_blue_text is ok.. i tryed with normal send_letter, same problem.
Please help.
Conditioned by "
if pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then
Do you try to open that letter, being into a dungeon?
"
-
/usr/local/etc/rc.d/mysql-server stop mysqld_safe --skip-grant-tables &
Then log in into navicat without password.
- 1
-
La 03.09.2018 la 12:22, Slime a spus:
quest daily_quest_over100 begin state start begin when login or levelup with pc.get_level() >=100 begin if get_global_time()> pc.getqf(tempo) set_state(info) end end end state info begin -- info about the mission when letter begin send_letter("Daily quest") end -- letter sent when button or info begin say_title("Daily quest") say("Hi, " .. pc.get_name() .. ".") say("You can choose the easy way,") say("with a poor reward or") say("the hard way, for a better reward") say("") local risp = select("Easy","Hard", "Cancel") if risp==3 then -- Cancel return elseif risp == 1 -- Easy pc.setqf("dif",0) -- difficulty FLAG (0=easy, 1=hard) set_state(running) else -- Hard pc.setqf("dif",1) set_state(running) end end -- when closed end -- INFO closed state running begin pc.setqf("done",0) -- quest completed FLAG (0=not completed, 1=completed) if pc.getqf(dif)==0 then pc.setqf("mob_to_kill",math.random(2411, 2414)) -- how many kills local qta = { 100, 125, 150, 175, 200, 225, 250, 275, 300 } pc.setqf("qta_to_kill",qta[math.random(1, 9)]) -- 50k yang for each kill, max=15M yang pc.setqf("reward",50000 * (pc.getqf(qta_to_kill))) else local vmob = { 1093, 1191, 1901, 2092, 2191, 2491, 2492, 2493 } pc.setqf("mob_to_kill",(vmob[math.random(1, 8)]) pc.setqf("qta_to_kill",(math.random(1, 10))) -- 3M exp for each kill, max=30M exp pc.setqf("reward",3000000 * (pc.getqf(qta_to_kill))) end when letter begin if pc.getqf(dif) == 0 send_letter("Daily mission, Easy") else send_letter("Daily mission, Hard") end end when button or info begin -- info about the quest if pc.getqf(done) == 0 then -- if he didn't complete the quest if pc.getqf(dif) == 0 then say_title("Daily quest, Hasy") else say_title("Daily quest, Hard") end say("So, you have chosen the easy way..") say("Here is your objective.") say("") say_reward("You have to kill: " .. qta_to_kill .. mob_name(pc.getqf(mob_to_kill))) if pc.getqf(dif) == 0 then say_reward("That's what you'll got: " .. pc.getqf(reward) .. " yang.") else say_reward("That's what you'll got: " .. pc.getqf(reward) .. " experience.") end else say_title("Daily mission reward") say("Congratulations " ..pc.get_name() .. " !!") say("You've earned a nice reward..") wait() if pc.getqf(dif)==0 then say_reward("You have earned: " .. pc.getqf(reward) .. " yang.") pc.changegold(pc.getqf(reward)) else say_reward("You have earned: " .. pc.getqf(reward) .. " experience.") pc.give_exp2(pc.getqf(reward)) end -- timer FLAG, this quest is repeatable once per day (24h) pc.setqf("tempo", get_global_time()+86400) -- 60*60*24 -- deleting FLAGS pc.delqf(mob_to_kill) pc.delqf(reward) pc.delqf(qta_to_kill) pc.delqf(dif) pc.delqf(done) set_state(__COMPLETE__) end end when pc.getqf(mob_to_kill).kill begin pc.setqf("qta_to_kill",(pc.getqf(qta_to_kill))-1) if pc.getqf(qta_to_kill) == 0 then pc.setqf("done",1) send_letter("Daily mission, Reward") end end end -- closed RUNNING state __COMPLETE__ begin when enter begin q.done() end end -- closed __COMPLETE__ end -- closed QUEST
This is the error
root@OSL-91741:/usr/game/share/locale/italy/quest # ./qc daily_hunt.lua
QUEST : daily_quest_over100
STATE : start
WHEN : login or
WHEN : levelup
with pc . get_level ( ) >= 100
if get_global_time ( ) > pc . getqf ( tempo )
set_state ( "info" )
enddaily_hunt.lua:7:syntax error : [string "startpc . get_level ( ) >= 100"]:2: `then' expected near `set_state'
Abort (core dumped)CitatThere are your error: https://metin2.download/picture/uPGWaOe2OSPIMIzuZLxJrq5qjbhPgdNC/.png
Cheers.
-
Acum 17 ore, Kroto a spus:
hi. i cant connet to my localhost server i just do ifconfig and i give it in WinSCP. and he dont cconnect
For localhost, you should use the IP with .100 termination.
E.g : 123.456.789.100, both in winscp, and navicat.
-
Acum 21 ore, Chyu ^^ a spus:
Hi devs, according to my question:
I have a problem with opening MDE file. If I try to import file into a Autodesk using MDE Tool by Ricky92, it's giving me this error: "MDE Type 2 currently unsupported.".
Does anybody know how can I import these files?
Can you attach this, or one of this mde files? I want to take a closer look .
- 1
-
Acum 50 minute, Chyu ^^ a spus:
Thanks! This is exactly what I've been searching for.
Anytime, with pleasure, if I can help
-
La 26.04.2018 la 5:56, Tatsumaru a spus:
Change the "MakeEachButton" as I have below, or add more "say ("")" before that dialog in quest.
def MakeEachButton(i): if self.skin == 3: button = BarButton("TOP_MOST",0x50000000, 0x50404040, 0x50606060) button.SetParent(c) button.SetSize(106,26) button.SetPosition(self.sx+c.GetWidth()/2+((i*2)-1)*56-56, self.sy+(event.GetLineCount(self.descIndex))*16+20+5) button.SetText("a") button.SetTextColor(0xff000000) else: i = i % 8 button = BarButton("TOP_MOST") button.SetParent(c) button.SetSize(200,26) button.SetPosition(self.sx+c.GetWidth()/2-100,self.sy+(event.GetLineCount(self.descIndex)+i*2)*16+20+5) button.SetText("a") button.SetTextColor(0xffffffff) return button
Python
in Community Support - Questions & Answers
Posted
Decimal HP system. Search and install it.