-
Posts
152 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Dash
-
DWORD dash = CPythonPlayer::Instance().GetStatus(POINT_GOLD); Return Py_BuildValue("l",dash); For 4.000.000.000 Try with long long dash and "L"
-
I dont't where is the problem...sorry
-
quest daily begin state start begin when login or levelup with pc.get_level() > 74 begin if get_global_time()> pc.getqf(tempo) then set_state(info) end end end state info begin -- info about the mission when letter begin send_letter("") end -- letter sent when button or info begin say_title("") say("") say("") say("") say("") say("") local risp = select("","") if risp==2 then -- Cancel return elseif risp == 1 then -- Easy pc.setqf("dif",0) -- difficulty FLAG (0=pedra sangue) set_state(running) end end -- when closed end -- INFO closed state running begin when letter begin if pc.getqf(dif) == 0 then send_letter("") end 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(691, 1901, 791, 1304, 2206, 1093, 2091)) -- how many kills local qta = { 3, 4, 5, 6 } pc.setqf("qta_to_kill",qta[math.random(1, 4)]) -- recompensa pedra sangue pc.setqf("reward",30190) 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("") say("") say("") say("") say("") say_reward("" .. qta_to_kill .. mob_name(pc.getqf(mob_to_kill))) if pc.getqf(dif) == 0 then say_reward("" .. pc.getqf(reward) .. "") end else say_title("") say("" ..pc.get_name() .. "") say("") wait() if pc.getqf(dif)==0 then say_reward("" .. pc.getqf(reward) .. "") pc.give_item2(30190, 1) 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("") end end end -- closed RUNNING state __COMPLETE__ begin when enter begin q.done() end end -- closed __COMPLETE__ end -- closed QUEST Sorry i am on mobile
-
Delete when login begin and end ftom state running and add these function in when letter 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(691, 1901, 791, 1304, 2206, 1093, 2091)) -- how many kills local qta = { 3, 4, 5, 6 } pc.setqf("qta_to_kill",qta[math.random(1, 4)]) -- recompensa pedra sangue pc.setqf("reward",30190) end
-
pc.setqf("reward",30190) end -- end if end-- end when login when letter begin if pc.getqf(dif) == 0 then send_letter("") end end
-
Add end before when letter begin in state runing
-
state running begin When login begin -- quest completed FLAG pc.setqf("done",0)
-
Python int too large to convert to C long
Dash replied to Adrian1428's topic in Community Support - Questions & Answers
Do you try to change limit of gold? -
Hi dev's Do you know any function for resize gr2 model? [Hidden Content]
-
Lycan shred skill problem?
Dash replied to Tacticus's topic in Community Support - Questions & Answers
Char_skill -
Did you see this?
-
Hi dev's Where i can find equip_right in source?
-
Deci mi-ai rezolvat toata problema cu asta, I am searching a function witch set scale of gr2....
-
Wut? I think there is a funtion whitch set size of gr2?
-
Hi dev's I need a function witch can resize gr2 model.
-
Up
-
How i can add attributes on item with source?
Dash replied to Dash's topic in Community Support - Questions & Answers
I want to add only for an item like hero'medal -
Yes but i don't think i will find a solution
-
So it's from motion?