-
Posts
977 -
Joined
-
Last visited
-
Days Won
15 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Shisui
-
-
-
I want to create a server. I'm bad at source, client and quests. Can somebody help me on this subject. I'm grateful who can help me. In short, I don't know what is the source and game ? I want to unbugged source or game. I'm learning English at university where I study at. I'm developing from day to day. This means that I can translate quests English to Turkish. I want to add lycan character because all of players want to lycan character. I think this is a good character but how can I add in my server that I don't know. In my opinion I want a lot. I'm sorry for that but I need to create a server and I should earn money because I'm studying at private university and my father didn't pay for university's cost. If I won't pay for my university's cost, I will have to leave the university. It is very difficult for me. I love my university and depertmant. Please help me. Thanks for everyhing.
Best regards
DontCare
So you want someone to work for you without getting paid?
If that's not the case then I recommend you this guy ().
He's hard worker and has what you need.
If you don't have money atm I recommend you to see some tutorials, reading them carefuly and eventualy you'll understand.
Or if you don't have the patience to see/read tutorials nor paying someone, then you should quit this and focus on studies
or back at the first option and pay someone to do your job.
-
Guide is in german because... Idc.
You should care, otherwise they'll close this.
-
-
-
Send me your selectcharacterwindow.py.
-
1
-
-
quest exchange begin state start begin when 20093.take begin if item.get_vnum() == 10 then say("Ok... i will exchange it for a claw") item.remove() pc.give_item2(27987) end end end end
Is it possible to make like this?
if item.get_vnum() == 10 or 20 or 30 or 40 then
-
networkModule.SetSelectCharacterPhase - exceptions.SyntaxError:invalid syntax (line 335)
selectcharacterwindow.py in line 335 has bad TAB.
-
1
-
-
error windows XP, help!!!!!
You're missing this kernel32.dll
-
Hey guys,
I have an error when I want to compile the [D]ataase Core.
/usr/bin/ld: skipping incompatible ../../libthecore/lib/libthecore.a when searching for -lthecore /usr/bin/ld: skipping incompatible /usr/lib/libthecore.a when searching for -lthecore /usr/bin/ld: skipping incompatible /usr/lib/libthecore.a when searching for -lthecore /usr/bin/ld: skipping incompatible /usr/lib/libthecore.a when searching for -lthecore /usr/bin/ld: cannot find -lthecore
Any one can help me maybe?From libthecore/From lib copy the From libthecore.a files into /usr/lib
-
I'm not sure if there's a fix for that problem.Hi, in my server when a player (sura) use his hability (dissipate) it cause some lag on the other player. How I can fix it?
The official still has it.
-
1
-
-
That's what I have.if (ch->GetGMLevel() == GM_IMPLEMENTOR) { strlcpy(buf, LC_TEXT("Implementor"), sizeof(buf)); std::string staff_color = "|cFFFFC700|H|h["; staff_color += buf; staff_color += "]|cFFA7FFD4|H|h"; sprintf(chatbuf_global, "%s %s", staff_color.c_str(), chatbuf); } else if (ch->GetGMLevel() == GM_HIGH_WIZARD) { strlcpy(buf, LC_TEXT("High Wizard"), sizeof(buf)); std::string staff_color = "|cFFFFC700|H|h["; staff_color += buf; staff_color += "]|cFFA7FFD4|H|h"; sprintf(chatbuf_global, "%s %s", staff_color.c_str(), chatbuf); }
It could be like this
I want to know more about that switch function.
-
just wondering you guys ever heard something from switch?
if (ch->GetGMLevel() == GM_IMPLEMENTOR) else if (ch->GetGMLevel() == GM_HIGH_WIZARD) else if (ch->GetGMLevel() == GM_LOW_WIZARD) else if (ch->GetGMLevel() == GM_GOD) switch(ch->GetGMLevel() ) { case GM_IMPLEMENTOR: ...... }
So will be like this?
if (ch->GetGMLevel() == GM_IMPLEMENTOR) else if (ch->GetGMLevel() == GM_HIGH_WIZARD) else if (ch->GetGMLevel() == GM_LOW_WIZARD) else if (ch->GetGMLevel() == GM_GOD) switch(ch->GetGMLevel() ) { case GM_IMPLEMENTOR: strlcpy(buf, LC_TEXT("Implementor"), sizeof(buf)); std::string staff_color = "|cFFFFC700|H|h["; staff_color += buf; staff_color += "]|cFFA7FFD4|H|h"; sprintf(chatbuf_global, "%s %s", staff_color.c_str(), chatbuf); case GM_HIGH_WIZARD: strlcpy(buf, LC_TEXT("High"), sizeof(buf)); std::string staff_color = "|cFFFFC700|H|h["; staff_color += buf; staff_color += "]|cFFA7FFD4|H|h"; sprintf(chatbuf_global, "%s %s", staff_color.c_str(), chatbuf); }
-
And if I want to make more than one tag for each GM level?
-
Hello, I want to make the tag for GM's when they talk in chat.
I followed this tutorial
My input_main.cpp
if(global_chat) { char buf[256]; char chatbuf_global[CHAT_MAX_LEN + 1]; const BYTE char_empire = ch->GetEmpire(); if(char_empire == 1) { strlcpy(buf, LC_TEXT("Shinsoo"), sizeof(buf)); std::string kingdom_red = "|cFFff0000|H|h["; kingdom_red += buf; kingdom_red += "]|cFFA7FFD4|H|h"; sprintf(chatbuf_global, "%s %s", kingdom_red.c_str(), chatbuf); } else if (char_empire == 2) { strlcpy(buf, LC_TEXT("Chunjo"), sizeof(buf)); std::string kingdom_yel = "|cFFFFFF00|H|h["; kingdom_yel += buf; kingdom_yel += "]|cFFA7FFD4|H|h"; sprintf(chatbuf_global, "%s %s", kingdom_yel.c_str(), chatbuf); } else if (char_empire == 3) { strlcpy(buf, LC_TEXT("Jinno"), sizeof(buf)); std::string kingdom_blue = "|cFF0080FF|H|h["; kingdom_blue += buf; kingdom_blue += "]|cFFA7FFD4|H|h"; sprintf(chatbuf_global, "%s %s", kingdom_blue.c_str(), chatbuf); } else if (ch->GetGMLevel() != GM_PLAYER) { strlcpy(buf, LC_TEXT("Staff"), sizeof(buf)); std::string staff_color = "|cFFFFC700|H|h["; staff_color += buf; staff_color += "]|cFFA7FFD4|H|h"; sprintf(chatbuf_global, "%s %s", staff_color.c_str(), chatbuf); }
locale_string.txt
"Staff"; "Staff";
When I speak shows the kingdom tag.What am I missing?
-
Check the final image.
-
How can i build it? Can you help me, please?
I have a error:
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
In PythonLauncher.cpp:
search:
PyModule_AddIntConstant(builtins, "TRUE", 1);
and add:
PyModule_AddIntConstant(builtins, "TRUE", 1);
PyModule_AddIntConstant(builtins, "FALSE", 0);
PyModule_AddIntConstant(builtins, "True", 1);
PyModule_AddIntConstant(builtins, "False", 0);
Now TRUE and True works
-
1
-
-
packet.h
SHOP_HOST_ITEM_MAX_NUM = 40, to SHOP_HOST_ITEM_MAX_NUM = 80,
src/Server/common/length.h
SHOP_HOST_ITEM_MAX_NUM = 40, SHOP_PRICELIST_MAX_NUM = 40, to SHOP_HOST_ITEM_MAX_NUM = 80, SHOP_PRICELIST_MAX_NUM = 80,
src/Server/game/shop.cpp
m_pGrid = M2_NEW CGrid(5, 9); to m_pGrid = M2_NEW CGrid(10, 9);
shopdialog.py
import uiScriptLocale
window = {
"name" : "ShopDialog",
"x" : SCREEN_WIDTH - 400,
"y" : 10,
"style" : ("movable", "float",),
"width" : 184 + 160,
"height" : 328,
"children" :
(
{
"name" : "board",
"type" : "board",
"style" : ("attach",),
"x" : 0,
"y" : 0,
"width" : 184 + 160,
"height" : 328,
"children" :
(
## Title
{
"name" : "TitleBar",
"type" : "titlebar",
"style" : ("attach",),
"x" : 8,
"y" : 8,
"width" : 169 + 160,
"color" : "gray",
"children" :
(
{ "name":"TitleName", "type":"text", "x":84+80, "y":4, "text":uiScriptLocale.SHOP_TITLE, "text_horizontal_align":"center" },
),
},
## Item Slot
{
"name" : "ItemSlot",
"type" : "grid_table",
"x" : 12,
"y" : 34,
"start_index" : 0,
"x_count" : 10,
"y_count" : 8,
"x_step" : 32,
"y_step" : 32,
"image" : "d:/ymir work/ui/public/Slot_Base.sub",
},
## Buy
{
"name" : "BuyButton",
"type" : "toggle_button",
"x" : 21,
"y" : 295,
"width" : 61,
"height" : 21,
"text" : uiScriptLocale.SHOP_BUY,
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
},
## Sell
{
"name" : "SellButton",
"type" : "toggle_button",
"x" : 104 + 160,
"y" : 295,
"width" : 61,
"height" : 21,
"text" : uiScriptLocale.SHOP_SELL,
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
},
## Close
{
"name" : "CloseButton",
"type" : "button",
"x" : 0,
"y" : 295,
"horizontal_align" : "center",
"text" : uiScriptLocale.PRIVATE_SHOP_CLOSE_BUTTON,
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
},
),
},
),
}
by @Endymion & .py by @Theodor
I swear that doenst work so you get bugs and cant buy any items from slots 46+
I've done it by myself...
-
packet.h
SHOP_HOST_ITEM_MAX_NUM = 40, to SHOP_HOST_ITEM_MAX_NUM = 80,
src/Server/common/length.hSHOP_HOST_ITEM_MAX_NUM = 40, SHOP_PRICELIST_MAX_NUM = 40, to SHOP_HOST_ITEM_MAX_NUM = 80, SHOP_PRICELIST_MAX_NUM = 80,
src/Server/game/shop.cppm_pGrid = M2_NEW CGrid(5, 9); to m_pGrid = M2_NEW CGrid(10, 9);
shopdialog.pyimport uiScriptLocale
window = {
"name" : "ShopDialog",
"x" : SCREEN_WIDTH - 400,
"y" : 10,
"style" : ("movable", "float",),
"width" : 184 + 160,
"height" : 328,
"children" :
(
{
"name" : "board",
"type" : "board",
"style" : ("attach",),
"x" : 0,
"y" : 0,
"width" : 184 + 160,
"height" : 328,
"children" :
(
## Title
{
"name" : "TitleBar",
"type" : "titlebar",
"style" : ("attach",),
"x" : 8,
"y" : 8,
"width" : 169 + 160,
"color" : "gray",
"children" :
(
{ "name":"TitleName", "type":"text", "x":84+80, "y":4, "text":uiScriptLocale.SHOP_TITLE, "text_horizontal_align":"center" },
),
},
## Item Slot
{
"name" : "ItemSlot",
"type" : "grid_table",
"x" : 12,
"y" : 34,
"start_index" : 0,
"x_count" : 10,
"y_count" : 8,
"x_step" : 32,
"y_step" : 32,
"image" : "d:/ymir work/ui/public/Slot_Base.sub",
},
## Buy
{
"name" : "BuyButton",
"type" : "toggle_button",
"x" : 21,
"y" : 295,
"width" : 61,
"height" : 21,
"text" : uiScriptLocale.SHOP_BUY,
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
},
## Sell
{
"name" : "SellButton",
"type" : "toggle_button",
"x" : 104 + 160,
"y" : 295,
"width" : 61,
"height" : 21,
"text" : uiScriptLocale.SHOP_SELL,
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
},
## Close
{
"name" : "CloseButton",
"type" : "button",
"x" : 0,
"y" : 295,
"horizontal_align" : "center",
"text" : uiScriptLocale.PRIVATE_SHOP_CLOSE_BUTTON,
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
},
),
},
),
}
by @Endymion & .py by @Theodor
-
1
-
-
I had the same problem, download this vstudio.
http://download.microsoft.com/download/7/1/B/71BA74D8-B9A0-4E6C-9159-A8335D54437E/vs_community.exe
-
1
-
-
someone could give me the link vs2013?
http://download.microsoft.com/download/7/1/B/71BA74D8-B9A0-4E6C-9159-A8335D54437E/vs_community.exe
-
I'm doing doble post for you to close this.
The problem was in item_proto -
The only error I get
0223 19:02:05388 :: invalid idx 0
-
Please someone?
Source, Client & Quest
in Community Support - Questions & Answers
Posted
If you want his services you have to pay.