-
Posts
294 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by AlCapone
-
-
RIDEAS I have a big problem I put the last function
def OpenQuestWindow(self, skin, idx): if constInfo.INPUT_IGNORE == 1: return elif constInfo.INPUT == 1: return else: self.interface.OpenQuestWindow(skin, idx)
And now Ignore all the quest I intent to open for example the change kingndom and dont open me quest..
1002 20:38:38193 :: AttributeError
1002 20:38:38193 :: :
1002 20:38:38193 :: 'module' object has no attribute 'INPUT_IGNORE'
1002 20:38:38194 ::1002 20:38:44487 :: Traceback (most recent call last):
1002 20:38:44488 :: File "game.py", line 717, in OpenQuestWindow
-
-
You are the best!
T.C
-
I still have the same problem whit the new window, and I put the new quest
-
0926 18:49:30578 :: AttributeError
0926 18:49:30578 :: :
0926 18:49:30578 :: 'GameWindow' object has no attribute 'ItemRemoveGetInputOff'
0926 18:49:30578 :: -
Hi so I put a sistem of Shang to delet your items in inventory and after delet the item I see a window in game here a gif.
Sysser server : Input: no quest running for pc, cannot process input : 57787
Sysser client : No error
Tutorial
### ConstInfo.py BorrarItems = { "QID" : 0, "BORRAR" : "", } ### Game.py En el __ServerCommand_Build, pegar esto: "BORRAR" : self.ManagerBorrar, Al final del game.py pegar esto: def ManagerBorrar(self, cmd): cmd = cmd.split("|") if cmd[0] == "QID": constInfo.BorrarItems["QID"] = int(cmd[1]) elif cmd[0] == "SEND": net.SendQuestInputStringPacket(str(constInfo.BorrarItems["BORRAR"])) constInfo.BorrarItems["BORRAR"] = "" elif cmd[0] == "INPUT": constInfo.INPUT_IGNORE = int(cmd[1]) ### uiInventory.py import event Debajo de wndEquip = self.GetChild("EquipmentSlot") Pegar esto: wndBorrar = self.GetChild("BorrarSlot") Debajo de: self.costumeButton = self.GetChild2("CostumeButton") Pegar: self.borrar_items = self.GetChild2("BorrarItems") Debajo de: self.attachMetinDialog.Hide() Pegar esto: self.drag = ui.Bar() self.drag.SetPosition(13+50,538) self.drag.SetParent(self) self.drag.SetColor(grp.GenerateColor(0.0, 0.0, 0.0, 0.0)) self.drag.SetSize(32,32) self.drag.OnMouseLeftButtonUp = lambda: self.Add_Item() self.drag.Show() wndBorrar.SetOverInItemEvent(ui.__mem_func__(self.OverBorrarIn)) wndBorrar.SetOverOutItemEvent(ui.__mem_func__(self.OverBorrarOut)) self.RemoveQuestion = uiCommon.QuestionDialog() self.RemoveQuestion.SetAcceptEvent(lambda arg = TRUE: self.Borrar_Item(arg)) self.RemoveQuestion.SetCancelEvent(lambda arg = FALSE: self.Borrar_Item(arg)) self.RemoveQuestion.Close() Debajo del def Close(self): Pegar esto: def OverBorrarIn(self): self.ShowToolTip(0) def OverBorrarOut(self): self.tooltipItem.HideToolTip() def Add_Item(self): if mouseModule.mouseController.isAttached(): attachedSlotType = mouseModule.mouseController.GetAttachedType() attachedSlotPos = mouseModule.mouseController.GetAttachedSlotNumber() attachedSlotVnum = mouseModule.mouseController.GetAttachedItemIndex() # item.SelectItem(attachedSlotVnum) if player.SLOT_TYPE_INVENTORY == attachedSlotType: item.SelectItem(attachedSlotVnum) self.RemoveQuestion.SetText("¿Seguro que quieres borrar "+str(item.GetItemName())+"?") self.RemoveQuestion.Open() constInfo.BorrarItems["BORRAR"] = "" constInfo.BorrarItems["BORRAR"] = "BORRAR|"+str(attachedSlotPos)+"|"+str(attachedSlotVnum) #chat.AppendChat(1, constInfo.BorrarItems["BORRAR"]) mouseModule.mouseController.DeattachObject() def Borrar_Item(self, arg): if arg: event.QuestButtonClick(constInfo.BorrarItems["QID"]) self.RemoveQuestion.Close() ### locale/inventorywindow.py Debajo de: ## Item Slot { "name" : "ItemSlot", "type" : "grid_table", "x" : 8, "y" : 246, "start_index" : 0, "x_count" : 5, "y_count" : 9, "x_step" : 32, "y_step" : 32, "image" : "d:/ymir work/ui/public/Slot_Base.sub" }, Pegar esto: ## Borar Items Slot { "name" : "BorrarItems", "type" : "image", "x" : 13, "y" : 538, "image" : "locale/es/ui/inventario/borrar_items.tga", "children" : ( { "name" : "BorrarSlot", "type" : "slot", "x" : 0, "y" : 0, "width" : 32, "height" : 32, "slot" : ( {"index":0, "x":0, "y":0, "width":32, "height":32}, ), }, ), },
Quest
quest borrar_items begin state start begin when login begin cmdchat("BORRAR QID|"..q.getcurrentquestindex()) end when button or info begin cmdchat("BORRAR INPUT|1") local shang = split(input(cmdchat("BORRAR SEND|")), "|") cmdchat("BORRAR INPUT|0") if shang[1] == "BORRAR" then borrar_items.Borrar(tonumber(shang[2]), tonumber(shang[3])) end end function Borrar(slot, vnum) item.select_cell(slot) local item_vnum, item_count, item_id = item.get_vnum(), item.get_count(), item.get_id() item.remove_stack() end end end
-
If you want limit time, you can edit the time easily in update_limit_time.py:
limitTime = time.mktime(time.localtime()) + 3600 * 24 * 180 * 2
Just edit 3600 * 24 * 180 * 2
Example 3600 * 24 * 180 * 20
It's add this time to local time.
Then if you finish with edit, write this command to virtualbox/putty: gmake limit_time It's added the new time to limit_time.h
After compile the game.
Now you have the new time in your gamefile. -
Yes you can login again on the metin the core dont crash only client.
How can I make the quest comunication whit client to see if is god.
P.D: After put your quest write test whit input. Then and after kick me.
-
The quest work.
But the OX dont the part of the OX were send you to login is this.
elseif s == 2 then
say_gm_title("Panou competiþie OX")
say("")
say_gm("Parolã:")
say("")
local sname = input()
if sname == "m2" then
say_gm_title("Panou competiþie OX")
say("")
say_gm("Adaugã obiect:")
say("")
local item_vnum = input()
say_gm_title("Panou competiþie OX")
say("")
say_gm("Adaugã numãr articole:")
say("")
local item_count = input()
oxevent.give_item(item_vnum, item_count)
say_gm_title("Panou competiþie OX" )
say("")
say_gm("Participanþii au primit "..item_name(item_vnum))
say("")
notice_all("Participanþii competiþei OX au primit "..item_count.."x"..item_name(item_vnum))
endI think is for the INPUT because i tested whit another quest and give me a INPUT error.
- 1
-
In sysser client no error only serverside.
ApplyPoint: Unknown apply type 97 name Robert
Until I put sash sistem they worked..
-
Soo the belt dont appear in the equipement. What could be?
The sysser server : ApplyPoint: Unknown apply type 97 name Robert
Thanks
-
I have the same problem.
The route of the files is acce\ymir work\pc\warrior\acce
There I have the files
And the MSM is good whit the right route d:/ymir work/pc/warrior/
-
-
INSERT INTO `item_proto` (`vnum`, `name`, `locale_name`, `type`, `subtype`, `weight`, `size`, `antiflag`, `flag`, `wearflag`, `immuneflag`, `gold`, `shop_buy_price`, `refined_vnum`, `refine_set`, `refine_set2`, `magic_pct`, `limittype0`, `limitvalue0`, `limittype1`, `limitvalue1`, `applytype0`, `applyvalue0`, `applytype1`, `applyvalue1`, `applytype2`, `applyvalue2`, `value0`, `value1`, `value2`, `value3`, `value4`, `value5`, `socket0`, `socket1`, `socket2`, `socket3`, `socket4`, `socket5`, `specular`, `socket_pct`, `addon_type`) VALUES (85001, '명장의 액세서리(화려)', 'Esarfa Lord (normala)', 28, 3, 0, 1, 73856, 9216, 0, '0', 100000, 0, 85002, 409, 0, 0, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0);
INSERT INTO `item_proto` (`vnum`, `name`, `locale_name`, `type`, `subtype`, `weight`, `size`, `antiflag`, `flag`, `wearflag`, `immuneflag`, `gold`, `shop_buy_price`, `refined_vnum`, `refine_set`, `refine_set2`, `magic_pct`, `limittype0`, `limitvalue0`, `limittype1`, `limitvalue1`, `applytype0`, `applyvalue0`, `applytype1`, `applyvalue1`, `applytype2`, `applyvalue2`, `value0`, `value1`, `value2`, `value3`, `value4`, `value5`, `socket0`, `socket1`, `socket2`, `socket3`, `socket4`, `socket5`, `specular`, `socket_pct`, `addon_type`) VALUES (85002, '명장의 액세서리(희귀)', 'Esarfa Lord (fina)', 28, 3, 0, 1, 73856, 9216, 0, '0', 200000, 0, 85003, 409, 0, 0, 0, 0, 0, 0, 97, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0);
INSERT INTO `item_proto` (`vnum`, `name`, `locale_name`, `type`, `subtype`, `weight`, `size`, `antiflag`, `flag`, `wearflag`, `immuneflag`, `gold`, `shop_buy_price`, `refined_vnum`, `refine_set`, `refine_set2`, `magic_pct`, `limittype0`, `limitvalue0`, `limittype1`, `limitvalue1`, `applytype0`, `applyvalue0`, `applytype1`, `applyvalue1`, `applytype2`, `applyvalue2`, `value0`, `value1`, `value2`, `value3`, `value4`, `value5`, `socket0`, `socket1`, `socket2`, `socket3`, `socket4`, `socket5`, `specular`, `socket_pct`, `addon_type`) VALUES (85003, '명장의 액세서리(고대)', 'Esarfa Lord (nobila)', 28, 3, 0, 1, 73856, 9216, 0, '0', 300000, 0, 85004, 409, 0, 0, 0, 0, 0, 0, 97, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0);
INSERT INTO `item_proto` (`vnum`, `name`, `locale_name`, `type`, `subtype`, `weight`, `size`, `antiflag`, `flag`, `wearflag`, `immuneflag`, `gold`, `shop_buy_price`, `refined_vnum`, `refine_set`, `refine_set2`, `magic_pct`, `limittype0`, `limitvalue0`, `limittype1`, `limitvalue1`, `applytype0`, `applyvalue0`, `applytype1`, `applyvalue1`, `applytype2`, `applyvalue2`, `value0`, `value1`, `value2`, `value3`, `value4`, `value5`, `socket0`, `socket1`, `socket2`, `socket3`, `socket4`, `socket5`, `specular`, `socket_pct`, `addon_type`) VALUES (85004, '명장의 액세서리(전설)', 'Esarfa Lord (avansata)', 28, 3, 0, 1, 65664, 9216, 0, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0);
INSERT INTO `item_proto` (`vnum`, `name`, `locale_name`, `type`, `subtype`, `weight`, `size`, `antiflag`, `flag`, `wearflag`, `immuneflag`, `gold`, `shop_buy_price`, `refined_vnum`, `refine_set`, `refine_set2`, `magic_pct`, `limittype0`, `limitvalue0`, `limittype1`, `limitvalue1`, `applytype0`, `applyvalue0`, `applytype1`, `applyvalue1`, `applytype2`, `applyvalue2`, `value0`, `value1`, `value2`, `value3`, `value4`, `value5`, `socket0`, `socket1`, `socket2`, `socket3`, `socket4`, `socket5`, `specular`, `socket_pct`, `addon_type`) VALUES (85005, '명인의 액세서리(화려)', 'Esarfa Master (normala)', 28, 3, 0, 1, 73856, 9216, 0, '0', 100000, 0, 85006, 409, 0, 0, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0);
INSERT INTO `item_proto` (`vnum`, `name`, `locale_name`, `type`, `subtype`, `weight`, `size`, `antiflag`, `flag`, `wearflag`, `immuneflag`, `gold`, `shop_buy_price`, `refined_vnum`, `refine_set`, `refine_set2`, `magic_pct`, `limittype0`, `limitvalue0`, `limittype1`, `limitvalue1`, `applytype0`, `applyvalue0`, `applytype1`, `applyvalue1`, `applytype2`, `applyvalue2`, `value0`, `value1`, `value2`, `value3`, `value4`, `value5`, `socket0`, `socket1`, `socket2`, `socket3`, `socket4`, `socket5`, `specular`, `socket_pct`, `addon_type`) VALUES (85006, '명인의 액세서리(희귀)', 'Esarfa Master (fina)', 28, 3, 0, 1, 73856, 9216, 0, '0', 200000, 0, 85007, 409, 0, 0, 0, 0, 0, 0, 97, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0);
INSERT INTO `item_proto` (`vnum`, `name`, `locale_name`, `type`, `subtype`, `weight`, `size`, `antiflag`, `flag`, `wearflag`, `immuneflag`, `gold`, `shop_buy_price`, `refined_vnum`, `refine_set`, `refine_set2`, `magic_pct`, `limittype0`, `limitvalue0`, `limittype1`, `limitvalue1`, `applytype0`, `applyvalue0`, `applytype1`, `applyvalue1`, `applytype2`, `applyvalue2`, `value0`, `value1`, `value2`, `value3`, `value4`, `value5`, `socket0`, `socket1`, `socket2`, `socket3`, `socket4`, `socket5`, `specular`, `socket_pct`, `addon_type`) VALUES (85007, '명인의 액세서리(고대)', 'Esarfa Master (nobila)', 28, 3, 0, 1, 73856, 9216, 0, '0', 300000, 0, 85008, 409, 0, 0, 0, 0, 0, 0, 97, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0);
INSERT INTO `item_proto` (`vnum`, `name`, `locale_name`, `type`, `subtype`, `weight`, `size`, `antiflag`, `flag`, `wearflag`, `immuneflag`, `gold`, `shop_buy_price`, `refined_vnum`, `refine_set`, `refine_set2`, `magic_pct`, `limittype0`, `limitvalue0`, `limittype1`, `limitvalue1`, `applytype0`, `applyvalue0`, `applytype1`, `applyvalue1`, `applytype2`, `applyvalue2`, `value0`, `value1`, `value2`, `value3`, `value4`, `value5`, `socket0`, `socket1`, `socket2`, `socket3`, `socket4`, `socket5`, `specular`, `socket_pct`, `addon_type`) VALUES (85008, '명인의 액세서리(전설)', 'Esarfa Master (avansata)', 28, 3, 0, 1, 65664, 9216, 0, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0);
INSERT INTO `item_proto` (`vnum`, `name`, `locale_name`, `type`, `subtype`, `weight`, `size`, `antiflag`, `flag`, `wearflag`, `immuneflag`, `gold`, `shop_buy_price`, `refined_vnum`, `refine_set`, `refine_set2`, `magic_pct`, `limittype0`, `limitvalue0`, `limittype1`, `limitvalue1`, `applytype0`, `applyvalue0`, `applytype1`, `applyvalue1`, `applytype2`, `applyvalue2`, `value0`, `value1`, `value2`, `value3`, `value4`, `value5`, `socket0`, `socket1`, `socket2`, `socket3`, `socket4`, `socket5`, `specular`, `socket_pct`, `addon_type`) VALUES (90000, '여화단 비술서', 'Certificat Anulare', 3, 10, 0, 1, 73856, 8196, 0, '0', 1200000, 12000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);Can you send the itemproto too?
-
Hi anybody have the query of sash items? 85009 85008 etc
Thanks
-
Sorry for asking but for what is this good?
Some more details please.
-
up link download
-
Hi soo I am tring compile the game but i have this errors.
char.cpp: In member function 'void CHARACTER::PointsPacket()':
char.cpp:1612:14: error: 'POINT_PRESTIGE_LEVEL' was not declared in this scope
pack.points[POINT_PRESTIGE_LEVEL] = GetPrestigeLevel();
^So i go to mi char.cpp and I have this
void CHARACTER::PointsPacket()
{
if (!GetDesc())
return;
TPacketGCPoints pack;
pack.header = HEADER_GC_CHARACTER_POINTS;
pack.points[POINT_LEVEL] = GetLevel();
pack.points[POINT_PRESTIGE_LEVEL] = GetPrestigeLevel();
pack.points[POINT_EXP] = GetExp();
pack.points[POINT_NEXT_EXP] = GetNextExp();
pack.points[POINT_HP] = GetHP();
pack.points[POINT_MAX_HP] = GetMaxHP();
pack.points[POINT_SP] = GetSP();
pack.points[POINT_MAX_SP] = GetMaxSP();
pack.points[POINT_GOLD] = GetGold();
pack.points[POINT_STAMINA] = GetStamina();
pack.points[POINT_MAX_STAMINA] = GetMaxStamina();
for (int i = POINT_ST; i < POINT_MAX_NUM; ++i)
pack.points = GetPoint(i);
GetDesc()->Packet(&pack, sizeof(TPacketGCPoints));
if (!IsAcceOpen())
{
LPITEM item;
for (int j = 0; j < INVENTORY_AND_EQUIP_SLOT_MAX; ++j)
{
if ((item = GetInventoryItem(j)))
if (item->GetType() == ITEM_COSTUME && item->GetSubType() == COSTUME_ACCE && item->GetSocket(0) == 1)
item->SetSocket(0, 0);
}
}
}What is wrong?
-
This a tut how to delet 1 empire maybe to add is the same look in.
-
Hi guys is here some tutorial to make functional the 2 new botons for rings ?
-
Hi guys I am trying to compile the client whit the acce system but I have this error.
Can somebody help me please? Ty for all.
-
#Solved. You can close.
-
For first sql password of dedicated server and for second sql the navicat pass
-
DEFINE('SQL_HOST', 'ip of server'); < what to right here?
DEFINE('SQL_USER', 'root');
DEFINE('SQL_PASS', 'pass of your server'); < what to right here?
DEFINE('SQL_HP_HOST', 'ip of server'); < what to right here?
DEFINE('SQL_HP_USER', 'root');
DEFINE('SQL_HP_PASS', 'pass of your server'); < what to right here?
DEFINE('SQL_HP_DB', 'account'); <
$serverSettings['url']="your site url"; < what to right here? // URL zur Seite (ohne letzten "/")
$serverSettings['server_ip']="ip of server"; < what to right here? // Server-IP
$serverSettings['register_on']=true; // Registration aktiviert (ja = true / nein = false)
$serverSettings['mail_activation']=false; // Mailaktivierung (ja = true / nein = false)
$serverSettings['page_entries']=30; // Eintr�ge pro Seite
$serverSettings['reg_mail']='[email protected]'; < what to right here? // E-Mail-Absender bei Registration
$serverSettings['pass_mail']='[email protected]'; < what to right here? // E-Mail-Absender bei
$serverSettings['titel'] = 'Curse';
[Old][Archive] - [Official] Unpacked Updates Metin2.de
in Guides & HowTo
Posted
You make it?