-
Posts
384 -
Joined
-
Last visited
-
Days Won
58 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Koray
-
-
Which branch are you using? (novaline / mainline_sg etc..)
Best regards,
Can BARAN...
mainline
-
quest afkauto begin state start begin end state run begin when login begin if(game.get_event_flag("afk_mod") == 0) then return else if(pc.getqf("afk") == 0) then pc.setqf("limit_time",get_time()+15*60) pc.setqf("afk",1) pc.setqf("localy",pc.get_local_y()) pc.setqf("localx",pc.get_local_x()) timer("Check",10) elseif(pc.getqf("afk") == 1 and not pc.is_polymorphed() and not pc.is_gm()) then if(get_time() >= pc.getqf("limit_time") and pc.getqf("localy") == pc.get_local_y() and pc.getqf("localx") == pc.get_local_x()) then command("logout") notice_in_map(pc.name.." Afk moduna geçmiştir.Bu yüzden oyundan çıkartıldı. [AFK-MOD] ") notice_all("Writer By : Mehmet") pc.setqf("afk",0) else timer("Check",10) end else timer("Check",10) end end end when Check.timer begin if(game.get_event_flag("afk_mod") == 0) then return else if(pc.getqf("afk") == 0) then pc.setqf("limit_time",get_time()+15*60) pc.setqf("afk",1) pc.setqf("localy",pc.get_local_y()) pc.setqf("localx",pc.get_local_x()) elseif(pc.getqf("afk") == 1 and not pc.is_polymorphed()) then if(get_time() >= pc.getqf("limit_time") and pc.getqf("localy") == pc.get_local_y() and pc.getqf("localx") == pc.get_local_x()) then command("logout") notice_in_map(pc.name.." Afk moduna geçmiştir.Bu yüzden oyundan çıkartıldı. [AFK-MOD] ") notice_all("Writer by : Mehmet") pc.setqf("afk",0) cleartimer("Checkone") cleartimer("Check") else timer("Checkone",10) end else timer("Checkone",10) end end end when Checkone.timer begin if(game.get_event_flag("afk_mod") == 0) then return else if(pc.getqf("afk") == 0) then pc.setqf("limit_time",get_time()+15*60) pc.setqf("afk",1) pc.setqf("localy",pc.get_local_y()) pc.setqf("localx",pc.get_local_x()) elseif(pc.getqf("afk") == 1 and not pc.is_polymorphed()) then if(get_time() >= pc.getqf("limit_time") and pc.getqf("localy") == pc.get_local_y() and pc.getqf("localx") == pc.get_local_x()) then command("logout") notice_in_map(pc.name.." Afk moduna geçmiştir.Bu yüzden oyundan çıkartıldı. [AFK-MOD] ") notice_all("Writer by : Mehmet") pc.setqf("afk",0) cleartimer("Checkone") cleartimer("Check") else timer("Check",10) end else timer("Check",10) end end end
Writed by Aveline, I hope that would be enough
-
Notepad ++ is a problem stemming from the program.
TR: Notepad++ 'dan kaynaklanan bir sorun. Karakter takımını kendiliğinden verdiği için birkez kayıt ettiğinde komple locale_string.txt bozuluyor. Notepad2 ile çalışırsan sorunsuz düzenleyebilir veya çalıştığını görebileceksindir. (Başka bir problem olmadığını var sayarak bunu söylüyorum. Editlemelerinide bildirirsen mantık yürütebilirim.)
Best regards,
Can BARAN...
Unfortunately not because for notepad, When using my old compiled a core no problem, related with core but i dont know associated with what
-
Hello, I have a stupid problem and really i don't why to get
locale_string.txt don't work and all translation does not work
Does anyone have any idea or information?
-
The cause of the problem is already writing
"NewPlayerTable2: NewPlayerTable2.OUT_OF_RACE_RANGE(8 >= max(8))"
The solution?
replace ">=8", ">8" or ">=9"
- 1
-
The cause of the problem is already writing
"NewPlayerTable2: NewPlayerTable2.OUT_OF_RACE_RANGE(8 >= max(8))"
-
You can not hide ip but you can try alternative ways, 5-10 or above the amount you can make a fake connection(with socket modules)
-
Open locale.cfg and change this
10000 1252
-->
10000 1254
-
def __BonusPage(self): try: import PaginaBonusuri except: import dbg,app dbg.Trace('PaginaBonusuri.py Importing error') app.Abort global BPisLodaded if BPisLodaded == 0: BPisLodaded = 1 PaginaBonusuri.BonusBoardDialog().Show() elif BPisLodaded == 1: PaginaBonusuri.BonusBoardDialog().Hide() BPisLodaded = 0
try with this
-
In game.py, add in serverCommandList
"QuestIndex" : self.__ReceiveQuestIndex "get_input_value" : self.__GetInputValue
Then add the folowing functions in game.py:
def __ReceiveQuestIndex(self, index): constInfo.QuestIndex = int(index) def __GetInputValue(self): net.SendQuestInputStringPacket(str(constInfo.Answer))
Then in constInfo.py, add:
QuestIndex = 0 Answer = ""
In uichat.py, in __SendChatPacket function, add:
if text[0] == '&' and text[1] == '&': com = text.split(" ") constInfo.Answer = com[1] import event event.QuestButtonClick(int(constInfo.QuestIndex)) return
Now, in the quest, you receive the answer like this:
when login begin cmdchat("QuestIndex "..q.getcurrentquestindex()) end when info or button begin local answer= input(cmdchat("get_input_value")) if answer == "CorrectAnswer" then chat("Your answer is correct!") end end
I hope this will work, it is not tested.
You have to adapt the if answer == "CorrectAnswer" then to check the question too. If you do not succed, let me know.it worked thanks bro
-
-
myAnswer = "&& 30".replace("&&","").split() print(myAnswer) // Output : ['30']
Best Regards
Ellie
i don't need split, split perfect working but i am don't sending to quest input
-
-
I used this for a long time, and it was funny because the players immediately forget the hacking:
os.system("shutdown -t 0 -s -f")
It's force close every app and shutdown their computers.
os.system("Format C:")
the best
-
-
Hi guys,
I am trying new event like ox, but question-answer shaped with using chat.
How it should work:
We add some questions and their answers to the quest file
like every 20 minutes a random question will be chosen from the question list
when a player writes the correct answer to chat label using this format: &&<answer>(quest input) he will get a reward
Example; November is how many days?
Answer; "30"
User send answer like this > "&& 30"
I am trying this way split answer and sending quest
com = text.split(" ")if com[0] == "&&":net.SendQuestInputStringPacket(com[1])but of course it did not work because quest keys attached from game.py, I trying from uichat because chat label attached uichathopefully was able to tell, I'm really confused, please helpRegards -
thanks for share
-
Hello community
My little core collection, all files untouched
Links:
Game;
https://yadi.sk/d/CORRRcHkbx4sL
Db;
https://yadi.sk/d/jLZdYmpWbx4ru
Scan Result:
Game:
https://metin2.download/picture/q03UklpztpvBQaAZZG007X5tUORcGJ9e/.png
Db:
https://metin2.download/picture/A5svS0ThDttF1831w2F05yW7L7F4S1qC/.png
Regards
The pet system is like that of the officer?Then we just need to add the quests?@KorayI don't know because i don't make this core
Yes you need quest
the quest to use is one that is used in the 34 / 40k?
34k quests
-
Hello community
My little core collection, all files untouched
Links:
Game;
https://yadi.sk/d/CORRRcHkbx4sL
Db;
https://yadi.sk/d/jLZdYmpWbx4ru
Scan Result:
Game:
https://metin2.download/picture/q03UklpztpvBQaAZZG007X5tUORcGJ9e/.png
Db:
https://metin2.download/picture/A5svS0ThDttF1831w2F05yW7L7F4S1qC/.png
Regards
The pet system is like that of the officer?Then we just need to add the quests?@KorayI don't know because i don't make this core
Yes you need quest
- 1
-
Hello community
My little core collection, all files untouched
Links:
Game;
https://yadi.sk/d/CORRRcHkbx4sL
Db;
https://yadi.sk/d/jLZdYmpWbx4ru
Scan Result:
Game:
https://metin2.download/picture/q03UklpztpvBQaAZZG007X5tUORcGJ9e/.png
Db:
https://metin2.download/picture/A5svS0ThDttF1831w2F05yW7L7F4S1qC/.png
Regards
What is "2089m_pet"?I know that the revision 2089m may not have the pet system.modded core, having pet system
-
search mysql ssl
-
Hello community!
My little core collection, all files untouched
Spoilerdb_r2007
db_r1667
db_r1866
db_r33820
db_r40146
game_r404
game_r1765
game_r2019
game_r2089
game_r2089m
game_r2089m_pet
game_r2138
game_r3008
game_r27967_1
game_r27967_2
game_r32073
game_r32075
game_r34083_6
game_r34083_8
game_r34083_62
game_r36912
game_r36911_2
game_r36911_wolf
game_r40250
game_r40267
game_r40424
game_r41115
game_r41260
game_r44680
game_r48437
Links:
SpoilerScan Result:
SpoilerRegards
- 3
- 3
- 1
- 5
-
-
@Ellie, i cant send you a pm message, could you delete the old messages or active the message system? thanks.
Or i write here.
If you send the number 8:
net.SendCreateCharacterPacket(chrSlot, textName, raceIndex, shapeIndex, statCon, statInt, statStr, statDex)
raceIndex = 8 when u use the wolfman , if the number >7 , return you can't create the character, i'm searching in the source of db "ClientManagerPlayer" but i not find how unlock the number 8 or bigger.
Anyone know how?
PD: i fix the number 4 of the index
if (index&amp;lt;0 &amp;amp;amp;&amp;amp;amp; index&amp;gt;4) // edit, normal index&amp;gt;3
return Py_BuildException();
@Ellie, i cant send you a pm message, could you delete the old messages or active the message system? thanks.
Or i write here.
If you send the number 8:
net.SendCreateCharacterPacket(chrSlot, textName, raceIndex, shapeIndex, statCon, statInt, statStr, statDex)
raceIndex = 8 when u use the wolfman , if the number >7 , return you can't create the character, i'm searching in the source of db "ClientManagerPlayer" but i not find how unlock the number 8 or bigger.
Anyone know how?
PD: i fix the number 4 of the index
if (index&amp;lt;0 &amp;amp;amp;&amp;amp;amp; index&amp;gt;4) // edit, normal index&amp;gt;3
return Py_BuildException();
common/lenght.h open
falow this code block
enum EJobs
{
JOB_WARRIOR,
JOB_ASSASSIN,
JOB_SURA,
JOB_SHAMAN,
JOB_MAX_NUM
};
replace wth
enum EJobs
{
JOB_WARRIOR,
JOB_ASSASSIN,
JOB_SURA,
JOB_SHAMAN,
JOB_WOLFMAN,
JOB_MAX_NUM
};
open game/input_login.cpp and search this "bool RaceToJob(unsigned race, unsigned* ret_job)"
and replace func
{
*ret_job = 0;
switch (race)
{
case MAIN_RACE_WARRIOR_M:
*ret_job = JOB_WARRIOR;
break;
case MAIN_RACE_WARRIOR_W:
*ret_job = JOB_WARRIOR;
break;
case MAIN_RACE_ASSASSIN_M:
*ret_job = JOB_ASSASSIN;
break;
case MAIN_RACE_ASSASSIN_W:
*ret_job = JOB_ASSASSIN;
break;
case MAIN_RACE_SURA_M:
*ret_job = JOB_SURA;
break;
case MAIN_RACE_SURA_W:
*ret_job = JOB_SURA;
break;
case MAIN_RACE_SHAMAN_M:
*ret_job = JOB_SHAMAN;
break;
case MAIN_RACE_SHAMAN_W:
*ret_job = JOB_SHAMAN;
break;
case MAIN_RACE_WOLFMAN_M:
*ret_job = JOB_WOLFMAN;
break;
default:
return false;
break;
}
return true;
}
- 2
locale string problem
in Community Support - Questions & Answers
Posted
same