Expected packet hook function for msg d6 but was null!
[09/27 20:40:07] Unable to read script 'pkg/skills/cooking/main/fish.ecl'
[09/27 20:40:11] error in create_thread: 12 8 "Not enough space" "Not enough space" 2 5612240 SocketClientThread 5599904 0 1802582304
Expected packet hook function for msg d6 but was null!
Unable to read script 'pkg/skills/cooking/main/fish.ecl'
[09/27 20:40:15] Exception in: scripts/ai/city_guard_default.ecl: bad allocation
PC < nLines: (d.2950: 2950: get member id 'z' (2)
2951: 2951: Func(6,0): Self
2952: 2952: get member id 'realm' (113)
2953: 2953: 3L
2954: 2954: 40L
2955: 2955: Func(4,42): FindPath
2956: >2956: [] := (1) #
2957: 2957: global #43
2958: 2958: "main"
2959: 2959: [] 1
2960: 2960: !
Exception in: scripts/ai/city_guard_default.ecl: bad allocation
PC < nLines: (d.2950: 2950: get member id 'z' (2)
2951: 2951: Func(6,0): Self
2952: 2952: get member id 'realm' (113)
2953: 2953: 3L
2954: 2954: 40L
2955: 2955: Func(4,42): FindPath
2956: >2956: [] := (1) #
2957: 2957: global #43
2958: 2958: "main"
2959: 2959: [] 1
2960: 2960: !
can anyone tell me what is wrong???
shard is running well for about 24h, then memory allocation problem is shown on the terminal and nothing else can work (all new scripts cause allocation problem)
If script code will help i`ll put it...
I dont know nothing about windows, memory alloctaing and others
Expected packet hook function for msg d6 but was null!
[09/27 20:40:11] error in create_thread: 12 8 "Not enough space" "Not enough space" 2
First, check your packet hook for packet 0xD6.
Second, the create_thread error caused all the others. Looks like you ran out of memory??? If it happens again, check mem usage on pc also. If any crash dumps was created, post them.
In the crash dump is memory allocation errors involving a string in a script.
First things first, please try using RC4 for a few days, see if the crashes go away (there was a packethook fix in RC5, I want to rule out that affecting you).
POL IS WORKING OK
[10/20 01:44:13] Client#4: Switching to queued data mode (1, 32 bytes)
Client#4: Leaving queued mode (41 bytes xmitted)
[10/20 01:44:24] Expected packet hook function for msg d6 but was null!
[10/20 01:44:25] Client#4: Switching to queued data mode (1, 29 bytes)
Expected packet hook function for msg d6 but was null!
Client#4: Leaving queued mode (592 bytes xmitted)
[10/20 01:44:27] Expected packet hook function for msg d6 but was null!
[10/20 01:44:28] Client#120: Switching to queued data mode (1, 9 bytes)
Client#120: Leaving queued mode (154 bytes xmitted)
[10/20 01:44:35] Expected packet hook function for msg d6 but was null!
Expected packet hook function for msg d6 but was null!
[10/20 01:44:37] Client#4: Switching to queued data mode (1, 16 bytes)
[10/20 01:44:38] Client#4: Leaving queued mode (48 bytes xmitted)
[10/20 01:44:47] Client#4: Switching to queued data mode (1, 15 bytes)
[10/20 01:44:48] Expected packet hook function for msg d6 but was null!
Client#4: Leaving queued mode (87 bytes xmitted)
[10/20 01:44:49] Expected packet hook function for msg d6 but was null!
[10/20 01:44:52] sysload=26 (48) cputime=4906250
[10/20 01:44:55] Client#4: Switching to queued data mode (1, 15 bytes)
[10/20 01:44:57] Client#4: Leaving queued mode (47 bytes xmitted)
.
.
.
AND???????????????????????????????????????
[10/20 02:28:01] [pkg/systems/save/main/saves.ecl]: [Zapisano stan swiata w 3906 ms]
[10/20 02:28:12] sysload=20 (3) cputime=7265625
[10/20 02:28:28] Expected packet hook function for msg d6 but was null!
[10/20 02:28:31] Exception in: scripts/ai/city_unmerchant.ecl: bad allocation
PC < nLines: (cal #1830: 1830: [] 1
1831: 1831: Func(0,0): CInt
1832: 1832: global #47
1833: 1833: <>
1834: 1834: "stock"
1835: 1835: Func(4,1): GetProperty
1836: >1836: !
1837: 1837: ||
1838: 1838: if false goto 1850
1839: 1839: "undata"
1840: 1840: Func(2,10): GetGlobalProperty
Exception in: scripts/ai/city_unmerchant.ecl: bad allocation
PC < nLines: (cal #1830: 1830: [] 1
1831: 1831: Func(0,0): CInt
1832: 1832: global #47
1833: 1833: <>
1834: 1834: "stock"
1835: 1835: Func(4,1): GetProperty
1836: >1836: !
1837: 1837: ||
1838: 1838: if false goto 1850
1839: 1839: "undata"
1840: 1840: Func(2,10): GetGlobalProperty
Exception in: scripts/ai/city_unmerchant.ecl: bad allocation
PC < nLines: (cal #1830: 1830: [] 1
.
.
. MORE OF THIS ERRORS
AND IT COMES TO THIS:
[10/20 02:28:40] Expected packet hook function for msg d6 but was null!
[10/20 02:28:52] Exception in: pkg/skills/tailoring/DShroud/control.eclerror_: bad allocation
PC < nLines: (e
Exception in: pkg/systems/combat/CLCombat.eclception in: : bad allocation
PC < nLines: (Lines: (ictionaryTasks Thread exits due to exception: bad allocation
Client#120: Exception in message handler 0x34: bad allocation
0000: 34 ed ed ed ed 04 00 11 81 89 4....... ........
Client#120: Exception in i/o thread: bad allocation! (checkpoint=4)
Client#120 (87.205.212.210): disconnected (account branholm54)
Client#120: Exception in i/o thread! (checkpoint=4, what=bad allocation)
Client#120: Disconnecting client due to send() error (1): 10038
Client#149: Exception in message handler 0x06: bad allocation
0000: 06 46 e6 3b fb .F.;.... ........
Client#149: Exception in i/o thread: bad allocation! (checkpoint=4)
TILL THE END (I SHUT IT BY X BECOUSE IT HAS TROBLES WITH EXITING)
So that`s it...
By the way. What this kind of error means:
Socket:: nowait.ecl: error 10038
Socket:: nowait.ecl: error 10056
(something may by wrong (numbers or text). If it is important i will put all of this error as it is showing on a console)
When I saw your earlier uopacket.cfg, I didn't see a receive function defined. Maybe you just didn't post the entire cfg file.
The one from the forums and the one I use has it like this:
Packet 0xD6
{
Length variable
SendFunction toolTips:MegaCliloc
}
// This subpacket is sent by the client to the server to see if
// 0xD6 needs to be sent.
SubPacket 0xBF
{
SubCommandID 0x10
ReceiveFunction toolTips:MegaCliloc
}
But my packet sends name (or desc) even if I have nothing in my EDITED part???
My Game Masters think that memory usage (or some leak) is caused by AI scripts) - I noticed a big (4MB) growth of memory usage when monster is attacking (trying to find a path)