-
Posts
199 -
Joined
-
Last visited
-
Days Won
7 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Frozen
-
-
Put your normal libs, the ones that came with the client.
- 1
-
Help ?
Syserr is empty.
What happens when you start up the client?
Nothing...
What version you use?
40k . I try to change the lib folder, and when I did that I recive an error, so I think the lib isn't compatible with my launcher, am I right ?
no is the code, the code was made for 34k or lower you have to change some things in the code try this one:
Download;
- 1
-
Show us what you have in your File "game.py", line 791, in BINARY_NEW_AddAffect.
-
Help ?
Syserr is empty.
What happens when you start up the client?
Nothing...
What version you use?
-
Help ?
Syserr is empty.
What happens when you start up the client?
-
Here is it i didnt test it but i think it should work:
quest pentakill begin state start begin when kill with npc.is_pc() begin local ilosc = pc.getqf("ilosc") pc.setqf("ilosc", pc.getqf("ilosc")+1) if pc.getqf("ilosc") == 1 then cmdchat("PlayMusicxd onekill.mp3") timer("killone", 10) elseif pc.getqf("ilosc") == 2 then cmdchat("PlayMusicxd doublekill.mp3") timer("killtwo", 10) cleartimer("killone", 10) elseif pc.getqf("ilosc") == 3 then cmdchat("PlayMusicxd triplekill.mp3") timer("killthree", 10) cleartimer("killtwo", 10) elseif pc.getqf("ilosc") == 4 then cmdchat("PlayMusicxd quadra.mp3") timer("killfour", 10) cleartimer("killthree", 10) elseif pc.getqf("ilosc") == 5 then cmdchat("PlayMusicxd pentakill.mp3") timer("killfive", 10) cleartimer("killfour", 10) end end when killone.timer or killtwo.timer or killthree.timer or killfour.timer or killfive.timer begin pc.setqf("ilosc", 0) end end end
Kind Regards,
Frozen
- 1
-
Here it is i didnt test, but i think it works.
quest party_bonus begin state start begin function party_member_counting() local pids = {party.get_member_pids()} for i, pid in pids do local player_count = player_count + 1 end return player_count end function party_give_bonus(count) local pids = {party.get_member_pids()} for i, pid in pids do q.begin_other_pc_block(pid) affect.add_collect(apply. ,count*10, 60*60*60*60*60) pc.setqf("party_bonus", 1) pc.setqf("party_members_last", party_bonus.party_member_counting()) q.end_other_pc_block(pid) end end function party_remove_bonus(count) local pids = {party.get_member_pids()} for i, pid in pids do q.begin_other_pc_block(pid) affect.remove_collect(apply. ,count*10, 60*60*60*60*60) pc.setqf("party_bonus", 0) pc.setqf("party_members_last", party_bonus.party_member_counting()) q.end_other_pc_block(pid) end end when kill with not npc.is_pc() and party.is_party() begin local party_member_count = party_bonus.party_member_counting() if pc.getqf("party_bonus") == 0 then party_bonus.party_give_bonus(party_member_count) else if party_member_count == pc.getqf("party_members_last") then return else party_bonus.party_remove_bonus(pc.getqf("party_members_last")) party_bonus.party_give_bonus(party_member_count) end end end when kill with not party.is_party() begin if pc.getqf("party_bonus") == 1 then party_bonus.party_remove_bonus() pc.delqf("party_bonus") pc.delqf("party_members_last") end end end end
PS: add in affect.add_collect(apply. HEREADDTHEBONUS) and the same to addect.remove_colllect.
Kind Regards,
Frozen
- 2
-
Here is the preview of my Logo:
Large Size
Medium Size:
Sorry for the bad quality i will modify that:
Thx,
Frozen
-
Thanks for updating, Chawaka!
UPDATE
retouched it a little bit!
click on image for high resolution.
edit: i made this just for fun in my spare time. in case your gon be using it i dont need the rank thingy you just have fun with it
___________________________________
in action and comparison to older version:
and again, because it was so nice
with special thanks to RossaLyxa for his useful thread.
Cool one i like it
- 1
-
I made a V3:
I hope you like it
- 2
-
Hey guys i made a version 2, i dont know if you guys like it, but i think is better than the older one:
i think it's cool, but there's a tiny mistake at the very right gear weel (the shadow).
Your right Thx i will edit
- 1
-
In my opinion if you will increase armor efectivity then you will need increase the weapons demage, otherwise you would need to decrease the life amount too.
But i like the ideia
-
You are wrong because with the if statement it's checks only once,you need to use while loop
But i was talking if he was working with action, like for example chat action, whennever you talk that if executes.
-
import time class Wait(ui.ScriptWindow): def __init__(self): ui.ScriptWindow.__init__(self) self.eventTimeOver = lambda * arg: None self.eventExit = lambda * arg: None def __del__(self): ui.ScriptWindow.__del__(self) def Open(self,waitTime): curTime = time.clock() self.endTime = curTime + waitTime self.Show() def Close(self): self.Hide() def Destroy(self): self.Hide() def EmptyFunc(self): pass def SAFE_SetTimeOverEvent(self,event = 0): if(not event): self.eventTimeOver = self.EmptyFunc self.eventTimeOver = ui.__mem_func__(event) def SAFE_SetExitEvent(self,event = 0): if(not event): self.eventExit = self.EmptyFunc self.eventExit = ui.__mem_func__(event) def OnUpdate(self): lastTime = max(0,self.endTime - time.clock()) if(lastTime == 0): self.Close() else: return def OnPressExitKey(self): self.Close() return True ## Example ; self.waitFor = Wait() self.waitFor.Open(20.0) self.waitFor.SAFE_SetTimeOverEvent(self.SecondFinished) self.waitFor.SAFE_SetExitEvent(self.ExitKey) def SecondFinished(self): print "======================================================" print "Second is finished." print "======================================================" def ExitKey(self): print "======================================================" print "Exit Key -- Write Something" print "======================================================"
maybe you could work on your business
Best Regards
Aveline
There is no need to make that, he can simply write this:
define a variable for your action, for example you whant to make a timer when you buy. When you buy a thing you define sothing like this: self.buytime = app.GetTime() and then you whant to wait like 30 seconds before you can buy, you can write this: import time if app.GetTime() < self.buytime+30: code the part when the timer is running else: after timer stopped Here you make a action so he can buy again.
-
Nice one, I like it.
Thank you
-
Hey guys i made a version 2, i dont know if you guys like it, but i think is better than the older one:
- 7
-
-
Hello guys,
a few days ago ChuckNorris posted here a very usefull toll that highlighted metin2 functions, so i had an idea. I wanted a thing that helped us like in Java, vb and in other lenguages we can press cntrl + space and a list of existent functions appear, So that is what i created for sublime text 3.
Is still not finish i still ned to make some updates, but i have this help!
Here is a Print how it works:
You just need to write some letters of the function to appear this list that show you the available ones.
Select one
And then press tab
For example here i selected quest function (one i created be faster to create quest structures), and clicked tab:
So i hope you enjoy and make your work easier.
PS: One contradiction is that Sublime text 3 snippets do not support periods so when you are writing pc. or item. the list will disappear so you can only write pc and then the list will appear.
Installation:
- To install this just drag the metin2 folder that is in the rar folder to:
C:UsersYourDirectorieAppDataRoamingSublime Text 3PackagesUser
If you find any bug please contact me.
Download : https://mega.co.nz/#!NtQ3wLaJ!1SPGUISPm1AmMuoRO1hyeZWB-7sipkkcBC3xvGuGhhs
TODO:
- Make almost all descriptions for functions.
Credits:
- Frozen
I hope you enjoy,
Kind Regards,
Frozen
- 5
-
You can use this:
if app.GetTime() < timeyouwant: code the part when the timer is running else after timer stopped
-
In line 56 is
"if choise == 1 then "
, shouldnt be intead
if choiseSecond == 1 then
-
In that mms file, show us the HairDataIndex that is in the beggining pls.
-
Here it is: https://mega.co.nz/#!09h1zKaJ!eriXE4fFy17P0IWOujTvUqtdlnyh_W-BULbQhqfOseQ
I Insered in that package all the official windows.dds from various countries.
Here is a print:
Choose the one that you like
Enjoy.
Kind Regards,
Frozen
-
You dont have this function: pc.get_empty_inventory_count()
Try to see in your functions list if that function is there.
-
I try your quest and I get this error
https://metin2.download/picture/xQJVn97VQr3vjB0X38DwdSE9d84ncjQh/.png
Show the quest that you tried
Pet system
in Community Support - Questions & Answers
Posted
That is the Age of Zaria system, i think nobody will post here or give it 2 you unless you pay them...