-
Posts
257 -
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 Crystal™
-
-
This is an internal error in the Python C++ code. Something more heinous is going on here, I don't think this is an error in my Python code.
Does anyone knows where should i look?
Spoiler===== Load Script File : uiscript/attachstonedialog.py
importing from lib sys
importing from lib sysimporting from sys.modules utils
importing from sys.modules utilsimporting from lib chr
importing from lib chrimporting from lib player
importing from lib playerimporting from lib app
importing from lib appimporting from lib sys
importing from lib sysimporting from lib copy
importing from lib copyimporting from sys.modules uiScriptLocale
importing from sys.modules uiScriptLocaleimporting from sys.modules localeInfo
importing from sys.modules localeInfoimporting from lib sys
importing from lib sysimporting from lib item
importing from lib itemimporting from lib app
importing from lib appimporting from lib player
importing from lib playerimporting from lib types
importing from lib typesimporting from sys.modules uiScriptLocale
importing from sys.modules uiScriptLocaleSYSERR: Traceback (most recent call last):
SYSERR: File "networkModule.py", line 239, in SetGamePhase
SYSERR: File "game.py", line 98, in __init__
SYSERR: File "interfaceModule.py", line 295, in MakeInterface
SYSERR: File "interfaceModule.py", line 175, in __MakeWindows
SYSERR: File "uiInventory.py", line 276, in __init__
SYSERR: File "uiInventory.py", line 420, in __LoadWindow
SYSERR: File "uiInventory.py", line 491, in SetInventoryPage
SYSERR: File "uiInventory.py", line 617, in RefreshBagSlotWindow
SYSERR: File "uiInventory.py", line 239, in RefreshSlot
SYSERR: SystemError
SYSERR: :
SYSERR: ..\Objects\longobject.c:981: bad argument to internal function
SYSERR:The error is when i call this function: RefreshBagSlotWindow uiinventory.py
Spoilerdef RefreshBagSlotWindow(self):
getItemVNum=player.GetItemIndex
getItemCount=player.GetItemCount
setItemVNum=self.wndItem.SetItemSlot
if app.BL_ENABLE_PICKUP_ITEM_EFFECT:
for i in xrange(self.wndItem.GetSlotCount()):
self.wndItem.DeactivateSlot(i)for i in xrange(player.INVENTORY_PAGE_SIZE):
slotNumber = self.__InventoryLocalSlotPosToGlobalSlotPos(i)itemCount = getItemCount(slotNumber)
# itemCount == 0이면 소켓을 비운다.
if 0 == itemCount:
self.wndItem.ClearSlot(i)
continue
elif 1 == itemCount:
itemCount = 0itemVnum = getItemVNum(slotNumber)
setItemVNum(i, itemVnum, itemCount)## 자동물약 (HP: #72723 ~ #72726, SP: #72727 ~ #72730) 특수처리 - 아이템인데도 슬롯에 활성화/비활성화 표시를 위한 작업임 - [hyo]
if constInfo.IS_AUTO_POTION(itemVnum):
# metinSocket - [0] : 활성화 여부, [1] : 사용한 양, [2] : 최대 용량
metinSocket = [player.GetItemMetinSocket(slotNumber, j) for j in xrange(player.METIN_SOCKET_MAX_NUM)]isActivated = 0 != metinSocket[0]
if isActivated:
self.wndItem.ActivateSlot(i)
potionType = 0;
if constInfo.IS_AUTO_POTION_HP(itemVnum):
potionType = player.AUTO_POTION_TYPE_HP
elif constInfo.IS_AUTO_POTION_SP(itemVnum):
potionType = player.AUTO_POTION_TYPE_SPusedAmount = int(metinSocket[1])
totalAmount = int(metinSocket[2])
player.SetAutoPotionInfo(potionType, isActivated, (totalAmount - usedAmount), totalAmount, self.__InventoryLocalSlotPosToGlobalSlotPos(i))else:
self.wndItem.DeactivateSlot(i)
if itemVnum in constInfo.PET_ITEMS:
metinSocket = [player.GetItemMetinSocket(slotNumber, j) for j in xrange(player.METIN_SOCKET_MAX_NUM)]
isActivated = 0 != metinSocket[1]
if isActivated:
self.wndItem.ActivateSlot(i)
else:
self.wndItem.DeactivateSlot(i)
if app.BL_ENABLE_PICKUP_ITEM_EFFECT:
self.__HighlightSlot_Refresh()
if app.BL_TRANSMUTATION_SYSTEM:
if not player.GetChangeLookVnum(player.INVENTORY, slotNumber) == 0:
self.wndItem.SetSlotCoverImage(i,"icon/item/ingame_convert_Mark.tga")
else:
self.wndItem.EnableSlotCoverImage(i,False)
self.wndItem.RefreshSlot()if self.wndBelt:
self.wndBelt.RefreshSlot()->Line 617
Spoilerdef RefreshSlot(self):
getItemVNum=player.GetItemIndexfor i in xrange(item.BELT_INVENTORY_SLOT_COUNT): #line 239
slotNumber = item.BELT_INVENTORY_SLOT_START + i
self.wndBeltInventorySlot.SetItemSlot(slotNumber, getItemVNum(slotNumber), player.GetItemCount(slotNumber))
self.wndBeltInventorySlot.SetAlwaysRenderCoverButton(slotNumber, True)avail = "0"
if player.IsAvailableBeltInventoryCell(slotNumber):
self.wndBeltInventorySlot.EnableCoverButton(slotNumber)
else:
self.wndBeltInventorySlot.DisableCoverButton(slotNumber)self.wndBeltInventorySlot.RefreshSlot()
-
I want to write a quest that uses party.get_member_pids and gives to every party member an item or exp for example.
How can i do this?
Spoilerlocal teamArr={party.get_member_pids()}
for j=1,table.getn(teamArr) do
teamArr[j].pc.give_exp2(pc.get_next_exp())
j=j+1
end--for j*i dont know lua
-
On 8/29/2021 at 11:13 AM, MsRazoRR said:
make_pair to std::make_pair
-
15 hours ago, nazox said:
Put a photo with the problem
I just need some help with some systems
-
On 8/3/2021 at 5:22 AM, Crystal™ said:
I search for someone help me handle some things with c++
up
-
20 hours ago, I3ooI3oo said:
Im not sure, but you need to secure your server more. These are the basic security settings. Yes your server can be scanned for open ports, thats why you need ip whitelist for SSH, it will help you a lot (be sure you have static ip, not a dynamic one).
The difference between dynamic vs static is that the ip does not change?I think all host have static.Or you mean mine IP?
8 hours ago, .colossus. said:maybe you just don´t have enough ram for your game cores
2gb ram are enough I think,i check how much ram is used and i see that the ram percentage is goes abruptly up and swap memory is used.
P.S. the scary about this event is that my metin server is not even public,it's just a vps test server and there are bots that have many ips saved and are scanning for opened ports and try get access lol...
-
2 minutes ago, I3ooI3oo said:
Change your default SSH port, disable SSH PASSWORD login and enable SSH KEY login... And don't forget to enable whitelist for your IP and disable others ip from accessing SSH port
Are the proofs i have enough about be sure that i get bruteforce? Do you have any ideas why swap memory is used?Also by changing my default SSH port I think wouldn't be useful because the ip could be scanned and the opened ports be found.
Thanks
-
-
I have a test server on a vps and always once my core goes offline.There are no any game.core generated.I think i get bruteforced ,does anyone know what goes on here?Why does the swap memory is use and goes full?
-
Ok , i didn't find anything so i removed the folder from the monsters..
now, i dont know why but i got spam in sysslog with this for this specific monster:
Aug 5 01:20:01 :: SpawnMob: BAN_PK position for mob spawn ?????? ??? 2960 at 9305291 9300081
Also which table stores the states that have been completed in quests? -
Could someone please share with us the data of models (motlist) please?
Spoilerdefensewave_minihydra
metinstone_loop
defensewave_redrock
defensewave_steerhandle
defenswwave_woodrepair
Spoiler12zi_statue_mouse_npc
12zi_statue_cow_npc
12zi_statue_tiger_npc
12zi_statue_rabbit_npc
12zi_statue_dragon_npc
12zi_statue_snake_npc
12zi_statue_horse_npc
12zi_statue_sheep_npc
12zi_statue_monkey_npc
12zi_statue_chicken_npc
12zi_statue_dog_npc
12zi_statue_pig_npc
Spoilerzombie_god_stone
zombie_security_stone
pig_young2
dog_young2
tiger_young2
lion_young2
I've searched on official patch and on public serverfiles but didnt find them complete.
-
I search for someone help me handle some things with c++
-
My test player gets kicked and i get these errors.
SYSERR: Aug 1 16:48:11 :: SyncPosition: Too often SyncPosition Interval(1ms)(mob) from Name(killerz) VICTIM(480360,975720) SYNC(480299,975702)
SYSERR: Aug 1 16:49:00 :: HandshakeProcess: handshake retry limit reached! (limit 32 character !NO CHARACTER!)
Also i can't understand what's wrong and i get this error
BAN_PK position for mob spawn ?????? ??? 2960 at 9288317 9300468
-
-
Αre there any countries that have weakness on law about copyrights?
-
effectfile "d:/ymir work/effect/dl2_effects/bird_little_01.mse"
d:/ymir work/effect/dl2_effects/butterfly_01.msei cant find these files dude,can you upload them please?
-
1 hour ago, Shahin said:
A tricky solution is try to resize the minimap file to your window's file.If this works and the quality of the icon is good, then try resize all the minimaps with a python script.
-
Does anyone have these functions?
Class:CPythonNonPlayer Function: GetNameString
Class:CGraphicTextInstance Function:GetRenderPositions,SetFixedRenderPos,SetRenderPos
-
i found this on internet
_wuint32 = unsigned int
_wint32 = int _
wfloat = float
ok i defined them and i fixed it
- 1
- 1
-
Spoiler
Severity Code Description Project File Line Suppression State
Error C2923 'std::unordered_map': '_wint32' is not a valid template type argument for parameter '_Kty' UserInterface C:\Users\Chris\Desktop\Clent_Src\Client\eterLib\CryTargetManager.h 32
Error (active) E0020 identifier "_wuint32" is undefined UserInterface C:\Users\Chris\Desktop\Clent_Src\Client\EterLib\CryRenderTarget.h 14
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int UserInterface C:\Users\Chris\Desktop\Clent_Src\Client\UserInterface\PythonNonPlayer.h 228
Error C2061 syntax error: identifier '_wfloat' UserInterface C:\Users\Chris\Desktop\Clent_Src\Client\eterLib\CryRenderTarget.h 38
Error C2061 syntax error: identifier '_wuint32' UserInterface C:\Users\Chris\Desktop\Clent_Src\Client\eterLib\CryRenderTarget.h 37
any suggestions?
-
0621 18:30:24463 :: GRANNY: d:/dev/rad/granny/rt/granny_file.cpp(939): ERROR: File is file format revision 6 (current version is 7) --- [2] Warning --- [24] FileReading
0621 18:30:24468 :: GRANNY: d:/dev/rad/granny/rt/granny_file_info.cpp(87): ERROR: File has run-time type tag of 0x80000010, which doesn't match this version of Granny (0x80000037). Automatic conversion will be attempted. --- [2] Warning --- [24] FileReadingGranny version:11
- 1
-
Ι get this sysser in auth Process: UNKNOWN HEADER: 175, LAST HEADER: 111(65), REMAIN BYTES: 1, fd: 15 and i can't login.
Does anyone know what should i do? I upgraded my machine to 2gb ram. Should i use a stronger cpu or is there anything else i can do?
-
8 hours ago, WeedHex said:
CPU and RAM frequency matters*.
Ur game process is surely 32bit so 4GB ram is the max load for the game.
Buy a nice GAME-1 / GAME-32 server if you want to stay quiet.
So RAM has the role about having the players's data that are online and the cores that are runnng, and CPU has the role with doing the mathematical operations?
-
Ok thanks a lot, for supporting many players online does cpu or ram help? Can someone explains me please with details?
Chances of getting caught
in Community Support - Questions & Answers
Posted
Are there any countries that their law isn't such strict?