iBeast
-
Posts
83 -
Joined
-
Last visited
-
Days Won
3 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by iBeast
-
-
Hello!
I am writing and asking for help on this forum after some weeks.I am creating ranking system and everything works fine, but I need to know how to read from metin2 client binary .mse file.
I have this line in C++ binary function:
sprintf(c_pszRank, "d:/ymir work/ui/ranking/ranker_%d.mse", iTOPPlayersRank);
and I return 1, so it is ranker_1.mse. But when I try it, nothing happens (so it can not read .mse) and when I change path to .tga file, it will load but picture is static.
Could you help me how to solve this problem?
Thanks. -
4 hours ago, Cunoo said:
" if i can put this source in another serverfile" ?? How put source? Just compile your source -> game, db, binary and after put in sf/client..
If you use 40k client/sf you not must change more files.. If you use old sf/client, yes you must change more files, but working too.. I have 2012 client, same year serverfiles with 40k source and working fine.
If you want clean sf, use this:
//reupload is in topic, look for all pages..https://metin2dev.org/board/index.php?/topic/190-fully-untouched-34083-server-files-db/
Working fine with 40k source..
Good client here:https://metin2dev.org/board/index.php?/topic/2420-release-current-metin2deen-client/
Not bad for start. If you have more questions, asking.
Why 34083 files? Why not (for example) Fliege (40k)?
-
8 hours ago, lTz said:
Hi guys , today i have a request, ofc just if someone want to help
I want this command /test to open a script from game.py for ex the script is switchbot on f5 , and i want to open it with that command not with f5 , any solution will be welcome , ty again
Create new command in cmd.cpp and insert into cmd_general.cpp that command with ChatPacket:
ch->ChatPacket(CHAT_TYPE_COMMAND, "TestCommand");
And then move into game.py:
Find:
serverCommandList={
And insert into list:
"TestCommand" : self.__TestCommandFunction,
And insert function at the end of game.py:
def __TestCommandFunction(self): import dbg dbg.LogBox("Command received!")
Hope I helped.
iBeast
- 1
-
-
If you use /reload q It can generate an error. It depends on SF.
iBeast
-
5 minutes ago, Ekinox said:
Yeah i try and it's work for offline shop in this function
def SetOfflineShopItem(self, slotIndex):
Problem solved Thx iBeast
You are welcome!
-
2 minutes ago, Ekinox said:
It's work for NPC shop really thanx, but i have the same problem for offline shop
Then apply it for offline shops too...
I do not have offline shops so I can not check which things you should modify, but it should be similar.
-
1 hour ago, Ekinox said:
I was right. There is solution (probably):
1. Find:
def SetShopItem(self, slotIndex):
2. Add on the end of function this:
self.AppendPrice(price)
So it should be like that:
def SetShopItem(self, slotIndex): itemVnum = shop.GetItemID(slotIndex) if 0 == itemVnum: return price = shop.GetItemPrice(slotIndex) self.ClearToolTip() self.isShopItem = TRUE metinSlot = [] for i in xrange(player.METIN_SOCKET_MAX_NUM): metinSlot.append(shop.GetItemMetinSocket(slotIndex, i)) attrSlot = [] for i in xrange(player.ATTRIBUTE_SLOT_MAX_NUM): attrSlot.append(shop.GetItemAttribute(slotIndex, i)) self.AddItemData(itemVnum, metinSlot, attrSlot) self.AppendPrice(price)
iBeast
-
-
Hello there.
Check my website (click on signature). I have this function for that on my website.
Enjoy.
32 minutes ago, Cunoo said:Too want solution, but I mean this is in -> InstanceBaseEffect???
Thanks19 hours ago, ReFresh said:@tierrilopes Can you post a solution for this? I really want this too. Thanks
- 1
- 1
-
-
1 hour ago, Mário. said:
You can't put pc functions inside of global functions, it will crash the server.
I cant use it only inside of server_timer I think. "Timer" is player related...
But I am not sure... It was only sample.iBeast
-
Looks pretty! <3
- 1
-
1 minute ago, amosth said:
not work =/
my quest complete
when 20006.chat."Labirinto" with pc.get_map_index()== 1 or pc.get_map_index() == 21 or pc.get_map_index() == 41 begin ----"111111222222333333444444555555666666777777888888999999000000" say_title("Mirine:") say("") say("test") say("") local lab = select("Enter", "Exit") if lab == 1 then if pc.count_item(2498) >= 1 then pc.give_item2("2499",1) pc.remove_item("2498",1) pc.warp(772800,774700) timer("leave_timer", 10) else say_title("Mirine:") say("") say("Not item sorry =/") say("") end end if lab == 2 then return end end when "leave_timer".timer begin --When runs out - returns to basic position timer --warp_to_village() say("teste") end --when
Add me on Skype (contact on my website).
I will look at it.
-
Just now, amosth said:
sorry.
quest special map state start begin when 20006.chat."Take me to the map" begin say("Do you want to enter?") local s = select ("Yes", "No") if s == 2 then return end if s == 1 then pc.warp(772800, 774700) timer("leave_timer", 10) end --Warping and setting timer end --when when "leave_timer".timer begin --When runs out - returns to basic position timer warp_to_village() end --when end --state end --quest
is correct? warp_to_village() to leave time?
(As I wrote... It is not tested, so theoretically yes)
And yes, when timer runs out, it will do "commands" in that "when".
iBeast
-
1 minute ago, amosth said:
my edit
quest special map state start begin when xyz.chat."Take me to the map" begin say("Do you want to enter?") local s = select ("Yes", "No") if s == 2 then return end if s == 1 then pc.warp(772800, 774700) timer("leave_timer", 10) end --Warping and setting timer end --when when "leave_timer".timer begin --When runs out - returns to basic position timer warp_to_village() end --when end --state end --quest
enjoy?
You have not edited NPC ID in chat function.
-
quest special map state start begin when xyz.chat."Take me to the map" begin say("Do you want to enter?") local s = select ("Yes", "No") if s == 2 then return end if s == 1 then pc.warp(x, y) timer("leave_timer", secs) end --Warping and setting timer end --when when "leave_timer".timer begin --When runs out - returns to basic position timer pc.warp(x, y) end --when end --state end --quest
Try it this way... Code is not tested, only "sample".
iBeast
-
Then switch map to CH99 and then quest function with timer and after timer ends, warp player back to town.
Hope I helped, iBeast
-
Some dialogs in locale are missing.
Hope I helped, iBeast
-
1 minute ago, kolo1994 said:
hmm server name? and upnacker?
all server have security for unpack i need only windows.dds with this and .sub
All not... You can also unpack official server...
-
Why dont you download and unpack it from other server?
iBeast
-
What about syserrs?
- 1
-
Just now, tierrilopes said:
You should had follow my advice instead of replacing stuff like said above.
Did you replace a folder called mysql ?
He wrote me privately on Skype so I will help him...
- 2
-
Why dont you upload it in /var/db/mysql?
Just put it there and then extract it/use it.
Hope I helped
iBeast
- 1
problem with translate :SERVERSIDE
in Community Support - Questions & Answers
Posted
NPC names are (usually) being taken from MySQL mob_proto. Are you sure you have translated all?
iBeast