-
Posts
729 -
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 flygun
-
-
hello guys
is there a function the can play a .wav file in client ??
i mean
i want to active a music file with quest
-
yeah i got the quest
but when the char need money he will sell the voucher for 500kk for exampel but the prices are buged
-
mmm
if i got a motion and i want the char do it when he takes something from the groundBUT every cahr got his own motion
-
it's already actived
but the script open with any char just when i enter the char
-
-
mmm watch this
http://www.youtube.com/watch?v=29ZeVKxiRBM
i advice you to download it if you got a youtube download tool
to watch it anytime you want
-
hello guys i got made this python script as a start for learning python
import os import app import ui class Points(ui.BoardWithTitleBar): def __init__(self): ui.BoardWithTitleBar.__init__(self) self.LoadServerWindowWindow() def __del__(self): ui.BoardWithTitleBar.__del__(self) def LoadServerWindowWindow(self): self.SetSize(200, 250) self.SetCenterPosition() self.AddFlag("movable") self.AddFlag("float") self.SetTitleName(" نقاط القتل ") self.Show() self.LoadButton() def LoadButton(self): self.b1 = ui.Button() self.b1.SetParent(self) self.b1.SetPosition(75, 220) self.b1.SetUpVisual("d:/ymir work/ui/public/middle_button_01.sub") self.b1.SetOverVisual("d:/ymir work/ui/public/middle_button_02.sub") self.b1.SetDownVisual("d:/ymir work/ui/public/middle_button_03.sub") self.b1.SetText(" اغلاق ") self.b1.SetEvent(self.close) self.b1.Show() def close(self): self.points.hide() Points()
i got those things in game.py
# Points system "points" : self.points_show, # END of Points system
# Points_system def points_show(self): import test_points self.points = test_points.points() self.Show() #END of Points_system
mmm let me say the the script right now is working
but the problem is
when i open any charectar the window shows
i got this as a quest
quest gm_panel begin state start begin when login with pc.is_gm() begin send_letter(" قائمه النقاط ") end when info or button begin say_title(" Team M2W ") say(" هل تريد فتح القائمة ") local a = select(" نعم ") if a == 1 then cmdchat("points") end end end end
-
mmm i don't have the experience to answer you :/ i'm still learning
have no comment ... anyway just wanna help ^^
- 1
-
can't you upload your item_proto ??
-
mmm idk if this will help
this program was in other lang i'v translated -
Help , im having same problem !
client syserr :
0724 16:12:34174 :: CMapBase::LoadProperty(FileName=metin2_map_n_snow_dungeon_01MapProperty.txt) - LoadMultipleTextData ERROR ÆÄÀÏÀÌ ¾øÀ» °¡´É¼ºÀÌ ¸¹½À´Ï´Ù. 0724 16:12:34174 :: CMapManager::LoadMap() Invalid Map Type 0724 16:12:34175 :: CPythonBackground::SelectViewDistanceNum(int eNum=0) mc_pcurEnvironmentData is NULL
you don't have the epk/eix file for the map
or you didn't put it in the index file
-
lol man just translate it
-
-
i don't thinks that the prices are high :/
voucher 500kk = 100kk in shops #selling
voucher 250kk = 50kk in shops #selling
voucher 100kk = 20kk in shops#selling
didn't put them for sell yet only with a quest
-
-
nah ... he can edit it 3 times and after that the quest after editing will be the same without change
i recommend you to delete "70021"folder or whatever and
in game
/reload q
and try to ./qc the quest again
-
hello guys i got problem
as you can see the "gold" and the "buy_price" in the client and in the server
but in the game the prices is different
<Item vnum="999500" name="ہ؛±« (5¸¸³ة)" gb2312name="قسيمة شراء 500 مليون" type="0" subtype="0" weight="0" size="1" antiflag="0" flag="4" wearflag="0" immuneflag="0" gold="500000000" buy_price="500000000" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" /> <Item vnum="999250" name="ہ؛±« (10¸¸³ة)" gb2312name="قسيمة شراء 250 مليون" type="0" subtype="0" weight="0" size="1" antiflag="0" flag="4" wearflag="0" immuneflag="0" gold="250000000" buy_price="250000000" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" /> <Item vnum="999100" name="±ف±« (50¸¸³ة)" gb2312name="قسيمة شراء 100 مليون" type="0" subtype="0" weight="0" size="1" antiflag="0" flag="4" wearflag="0" immuneflag="0" gold="100000000" buy_price="100000000" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
999500 ±³ب¯±ا قسيمة شراء 500 مليون 0 0 0 1 0 4 0 500000000 500000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1 0 0 0 999250 ±³ب¯±ا قسيمة شراء 250 مليون 0 0 0 1 0 4 0 250000000 250000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1 0 0 0 999100 ±³ب¯±ا قسيمة شراء 100 مليون 0 0 0 1 0 4 0 100000000 100000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1 0 0 0
-
yeah i know hahah
but i got other problem
as you can see the "gold" and the "buy_price" in the client
<Item vnum="999500" name="ہ؛±« (5¸¸³ة)" gb2312name="قسيمة شراء 500 مليون" type="0" subtype="0" weight="0" size="1" antiflag="0" flag="4" wearflag="0" immuneflag="0" gold="500000000" buy_price="500000000" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" /> <Item vnum="999250" name="ہ؛±« (10¸¸³ة)" gb2312name="قسيمة شراء 250 مليون" type="0" subtype="0" weight="0" size="1" antiflag="0" flag="4" wearflag="0" immuneflag="0" gold="250000000" buy_price="250000000" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" /> <Item vnum="999100" name="±ف±« (50¸¸³ة)" gb2312name="قسيمة شراء 100 مليون" type="0" subtype="0" weight="0" size="1" antiflag="0" flag="4" wearflag="0" immuneflag="0" gold="100000000" buy_price="100000000" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="0" socket2="0" socket3="0" socket4="0" socket5="0" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
and in the server
UPDATE `player`.`item_proto` SET `vnum`='999500', `name`='��ȯ��', `locale_name`='����� ���� 500 �����', `type`='0', `subtype`='0', `weight`='0', `size`='1', `antiflag`='0', `flag`='4', `wearflag`='0', `immuneflag`='', `gold`='500000000', `shop_buy_price`='500000000', `refined_vnum`='0', `refine_set`='0', `refine_set2`='0', `magic_pct`='0', `limittype0`='0', `limitvalue0`='0', `limittype1`='0', `limitvalue1`='0', `applytype0`='0', `applyvalue0`='0', `applytype1`='0', `applyvalue1`='0', `applytype2`='0', `applyvalue2`='0', `value0`='0', `value1`='0', `value2`='0', `value3`='0', `value4`='0', `value5`='0', `socket0`='-1', `socket1`='-1', `socket2`='-1', `socket3`='-1', `socket4`='-1', `socket5`='-1', `specular`='0', `socket_pct`='0', `addon_type`='0' WHERE (`vnum`='999500'); UPDATE `player`.`item_proto` SET `vnum`='999250', `name`='��ȯ��', `locale_name`='����� ���� 250 �����', `type`='0', `subtype`='0', `weight`='0', `size`='1', `antiflag`='0', `flag`='4', `wearflag`='0', `immuneflag`='', `gold`='250000000', `shop_buy_price`='250000000', `refined_vnum`='0', `refine_set`='0', `refine_set2`='0', `magic_pct`='0', `limittype0`='0', `limitvalue0`='0', `limittype1`='0', `limitvalue1`='0', `applytype0`='0', `applyvalue0`='0', `applytype1`='0', `applyvalue1`='0', `applytype2`='0', `applyvalue2`='0', `value0`='0', `value1`='0', `value2`='0', `value3`='0', `value4`='0', `value5`='0', `socket0`='-1', `socket1`='-1', `socket2`='-1', `socket3`='-1', `socket4`='-1', `socket5`='-1', `specular`='0', `socket_pct`='0', `addon_type`='0' WHERE (`vnum`='999250'); UPDATE `player`.`item_proto` SET `vnum`='999100', `name`='��ȯ��', `locale_name`='����� ���� 100 �����', `type`='0', `subtype`='0', `weight`='0', `size`='1', `antiflag`='0', `flag`='4', `wearflag`='0', `immuneflag`='', `gold`='100000000', `shop_buy_price`='100000000', `refined_vnum`='0', `refine_set`='0', `refine_set2`='0', `magic_pct`='0', `limittype0`='0', `limitvalue0`='0', `limittype1`='0', `limitvalue1`='0', `applytype0`='0', `applyvalue0`='0', `applytype1`='0', `applyvalue1`='0', `applytype2`='0', `applyvalue2`='0', `value0`='0', `value1`='0', `value2`='0', `value3`='0', `value4`='0', `value5`='0', `socket0`='-1', `socket1`='-1', `socket2`='-1', `socket3`='-1', `socket4`='-1', `socket5`='-1', `specular`='0', `socket_pct`='0', `addon_type`='0' WHERE (`vnum`='999100');
the prices in game are different
-
this will make the quest icon show directly after clicking on it ?
-
hello guys i made this quest .... but i need to know somthing
how to make the quest resend the letter after click on it ??
i mean i don't want the letter on the left side of the window disappear
i can see a a function called "restart_quest"
but don't know how to use it
quest tickets begin
state start begin
when letter begin
send_letter ( " شراء قسائم " ) --Quest Name
end
when button or info begin
say_yellow (" هل تريد شراء قسائم نقود ؟؟ ") --title
say (" ")
say (" ")
say (" ")
say_red (" من هنا يمكنك شراء قسائم نقود ")
say_red (" اختر نوع القسيمه التي تريد شرائها ")
local a = select (" قسيمه ام ال500 "," قسيمه ام ال 250 "," قسيمه ام ال 100 " , " اغلاق ")
if 4==a then return
elseif 1==a then
say_red (" كم قسيمه تريد ان تاخذ ؟؟ ")
local a1 = select (" واحدة500× ", " اثنتان500× ", " ثلاثه500× ", " اربعه500× ", " رجوع ")
if 1==a1 then
if pc.get_money () <= (499999999) then --check if player got the money ---
chat (" انك لا تملك هذا المبلغ ")
else
pc.give_item2 (999500,1)
pc.change_gold (-500000000)
end
elseif 2==a1 then
if pc.get_money () <= (999999999) then
chat (" انك لا تملك هذا المبلغ ")
else
pc.give_item2 (999500,2)
pc.change_gold (-1000000000)
end
elseif 3==a1 then
if pc.get_money () <= (1499999999) then
chat (" انك لا تملك هذا المبلغ ")
else
pc.give_item2 (999500,3)
pc.change_gold (-1500000000)
end
elseif 4==a1 then
if pc.get_money () <= (1999999999) then
chat (" انك لا تملك هذا المبلغ ")
else
pc.give_item2 (999500,4)
pc.change_gold (-2000000000)
end
end
elseif 2==a then
say_red (" كم قسيمه تريد ان تاخذ ؟؟ ")
local a2 = select (" واحدة250× ", " اثنتان250× ", " ثلاثه250× ", " اربعه250× ", " رجوع ")
if 1==a2 then
if pc.get_money () <= (249999999) then
chat (" انك لا تملك هذا المبلغ ")
else
pc.give_item2 (999250,1)
pc.change_gold (-250000000)
end
elseif 2==a2 then
if pc.get_money () <= (499999999) then
chat (" انك لا تملك هذا المبلغ ")
else
pc.give_item2 (999250,2)
pc.change_gold (-500000000)
end
elseif 3==a2 then
if pc.get_money() <= (749999999) then
chat (" انك لا تملك هذا المبلغ ")
else
pc.give_item2 (999250,3)
pc.change_gold (-750000000)
end
elseif 4==a2 then
if pc.get_money() <= (999999999) then
chat (" انك لا تملك هذا المبلغ ")
else
pc.give_item2 (999250,4)
pc.change_gold (-1000000000)
end
end
elseif 3==a then
say_red (" كم قسيمه تريد ان تاخذ ؟؟ ")
local a3 = select (" واحدة100× ", " اثنتان100× ", " ثلاثه100× ", " اربعه100× ", " رجوع ")
if 1==a3 then
if pc.get_money() <= (99999999) then
chat (" انك لا تملك هذا المبلغ ")
else
pc.give_item2 (999100,1)
pc.change_gold (-100000000)
end
elseif 2 == a3 then
if pc.get_money () <= (199999999) then
chat (" انك لا تملك هذا المبلغ ")
else
pc.give_item2 (999100,2)
pc.change_gold (-200000000)
end
elseif 3 == a3 then
if pc.get_money () <= (299999999) then
chat (" انك لا تملك هذا المبلغ ")
else
pc.give_item2 (999100,3)
pc.change_gold (-300000000)
end
elseif 4 == a3 then
if pc.get_money() <= (399999999) then
chat (" انك لا تملك هذا المبلغ ")
else
pc.give_item2 (999100,4)
pc.change_gold (-400000000)
end
return
end
end
end
end
end -
and what about these problems ??
SYSERR: Jul 14 20:55:25 :: main: Failed to Load ClientPackageCryptInfo File(package/) SYSERR: Jul 14 20:55:31 :: Show: cannot find sectree by 505653x920686 mapindex 1 SYSERR: Jul 14 20:55:31 :: RegenNPC: Cannot create guild npc SYSERR: Jul 14 20:55:31 :: GetMotionFileName: Motion: spider_egg have not motlist.txt vnum(2095) folder(spider_egg) SYSERR: Jul 14 21:12:13 :: heart_idle: losing 43 seconds. (lag occured) SYSERR: Jul 14 21:25:15 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down. SYSERR: Jul 14 21:26:12 :: ForAttrRegion: Cannot find SECTREE_MAP by map index 1
-
yes i can do that and the syserr will not show this err again but i want to know which file is calling these vnums
cus i don't have them already and if the server called there i can't see them but i will see a hits comeing from no where
-
they are already missing from mob_proto "client and server" and from group/group_group.txt :/
-
play music function
in Community Support - Questions & Answers
Posted
mmm thx solved