PenUltima Online

It is currently Thu Aug 21, 2008 4:14 pm

All times are UTC - 4 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Strange error in map3.mul (custom map)
PostPosted: Mon Dec 18, 2006 12:38 pm 
Offline

Joined: Fri Aug 11, 2006 6:54 am
Posts: 74
Quote:

[12/18 17:26:50] Account d_pagershaka selecting character Admin Shaka
Client#110: Exception in message handler 0x5d: bad allocation
XXXX: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX ]....Adm in Shaka
XXXX: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX ........ ........
XXXX: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX ........ ........
XXXX: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX ........ ........
XXXX: XX XX XX XX XX XX XX XX XX ........ j.......
Client#110: Exception in i/o thread: bad allocation! (checkpoint=4)
Client#110 (82.52.57.149): disconnected (account d_pagershaka)
[12/18 17:26:51] Client#110: Disconnecting client due to send() error (1): 10038



Some solutions?

_________________
Image

There is Upgrade only when script's advantage are for all players.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 19, 2006 1:11 am 
Offline

Joined: Wed May 10, 2006 9:15 pm
Posts: 113
It actually looks like the error is in your /data/pcs.txt file. Did you check your Admin Shaka character entry? The first impression I got from the dump is that there's a corrupted property somewhere in that character entry, and it's causing an error when you login to the server as Admin Shaka.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 19, 2006 6:19 am 
Offline

Joined: Fri Aug 11, 2006 6:54 am
Posts: 74
Mmmmm it is very strange because this appens only when i have upload a new map3.mul and this "client crash" appens only in some xyz on the right side of the map (dungeons zone). And this appens to all staff member and i don't know if there is a solution.

_________________
Image

There is Upgrade only when script's advantage are for all players.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 19, 2006 6:51 am 
Offline

Joined: Wed May 10, 2006 9:15 pm
Posts: 113
Did you delete the realm data for that map, and is the map the same dimensions as the previous map3?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 19, 2006 7:06 am 
Offline

Joined: Fri Aug 11, 2006 6:54 am
Posts: 74
Quote:

[12/18 16:18:39] sysload=13 (78) cputime=1687500
[12/18 16:19:20] Exception in: scripts/textcmd/pager/goxyz.eclnLines: bad allocation
PC < nLines: ( in: 40: 40: [] 1
41: 41: Func(0,2): CInt
42: 42: local #0
43: 43: get member id 'realm' (113)
44: 44: 1073741824L
45: 45: Func(2,1): MoveObjectToLocation
46: >46: :=
47: 47: #
48: 48: local #3
49: 49: if true goto 59
50: 50: local #0
[12/18 16:19:23] Exception in: scripts/textcmd/pager/tele.eclPC < nLines: bad allocation
PC < nLines: (PC=PC=35: 35: local #1
36: 36: get member id 'z' (2)
37: 37: local #0
38: 38: get member id 'realm' (113)
39: 39: 1073741824L
40: 40: Func(2,2): MoveObjectToLocation
41: >41: local2 :=
42: 42: leave block(1)
43: 43: leave block(2)
44: 44: progend
[12/18 16:19:24] Exception in: scripts/textcmd/pager/tele.ecldone: bad allocation
PC < nLines: (_ = false
PC=20: 20: local #1
21: 21: get member id 'z' (2)
22: 22: local #0
23: 23: get member id 'realm' (113)
24: 24: 0L
25: 25: Func(2,2): MoveObjectToLocation
26: >26: :=
27: 27: #
28: 28: local #2
29: 29: if true goto 42
30: 30: local #0
[12/18 16:19:25] Client#6: Exception in message handler 0x02: bad allocation
0000: 02 06 00 00 00 00 00 ........ ........
Client#6: Exception in i/o thread: bad allocation! (checkpoint=4)
Client#6 (213.140.18.128): disconnected (account m_maro)
Client#6: Disconnecting client due to send() error (1): 10038



And this is the goxyz.src

Quote:

use uo;
use basic;

program textcmd_goxyz( who, text )
Var params := SplitWords( text );
if (len(params) < 3) // didn't pass Z
params[3] := GetMapInfo( CInt(params[1]), CInt(params[2]) , who.realm ).z;
endif

Var res := MoveObjectToLocation( who, CInt(params[1]), CInt(params[2]), CInt(params[3]), who.realm, MOVEOBJECT_FORCELOCATION );

if (!res)
SendSysMessage( who, "Unable to go there: " + res.errortext );
endif
endprogram



This is the goxyz.lst

Quote:

C:\drl97\scripts\textcmd\pager\goxyz.src, Line 17
program textcmd_goxyz( who, text )
use basic;
0: get arg 'who'
1: get arg 'text'
Var params := SplitWords( text );
2: decl local #2
3: local #1
4: " "
5: Func(0,0): SplitWords
6: :=
7: #
if (len(params) < 3) // didn't pass Z
8: local #2
9: Func(0,1): Len
10: 3L
11: <
12: if false goto 28
params[3] := GetMapInfo( CInt(params[1]), CInt(params[2]) , who.realm ).z;
13: local #2
14: 3L
15: local #2
16: 1L
17: [] 1
18: Func(0,2): CInt
19: local #2
20: 2L
21: [] 1
22: Func(0,2): CInt
23: local #0
24: get member id 'realm' (113)
25: Func(2,0): GetMapInfo
26: get member id 'z' (2)
27: [] := (1) #
Var res := MoveObjectToLocation( who, CInt(params[1]), CInt(params[2]), CInt(
28: decl local #3
29: local #0
30: local #2
31: 1L
32: [] 1
33: Func(0,2): CInt
34: local #2
35: 2L
36: [] 1
37: Func(0,2): CInt
38: local #2
39: 3L
40: [] 1
41: Func(0,2): CInt
42: local #0
43: get member id 'realm' (113)
44: 1073741824L
45: Func(2,1): MoveObjectToLocation
46: :=
47: #
if (!res)
48: local #3
49: if true goto 59
SendSysMessage( who, "Unable to go there: " + res.errortext );
50: local #0
51: "Unable to go there: "
52: local #3
53: get member 'errortext'
54: +
55: 3L
56: 1000L
57: Func(2,2): SendSysMessage
58: #



This is the tele.src

Quote:


use uo;

program textcmd_tele( who )
SendSysMessage( who, "Where do you want to teleport?" );
var where := TargetCoordinates( who );
if(where)
var result := MoveObjectToLocation( who, where.x, where.y, where.z, who.realm);
if(!result)
result := MoveObjectToLocation( who, where.x, where.y, where.z, who.realm, MOVEOBJECT_FORCELOCATION);
endif
endif
endprogram



This is the tele.lst

Quote:

C:\drl97\scripts\textcmd\pager\tele.src, Line 4
program textcmd_tele( who )
use uo;
0: get arg 'who'
SendSysMessage( who, "Where do you want to teleport?" );
1: local #0
2: "Where do you want to teleport?"
3: 3L
4: 1000L
5: Func(2,0): SendSysMessage
6: #
var where := TargetCoordinates( who );
7: decl local #1
8: local #0
9: Func(2,1): TargetCoordinates
10: :=
11: #
if(where)
12: local #1
13: if false goto 43
var result := MoveObjectToLocation( who, where.x, where.y, where.z, who.realm);
14: decl local #0
15: local #0
16: local #1
17: get member id 'x' (0)
18: local #1
19: get member id 'y' (1)
20: local #1
21: get member id 'z' (2)
22: local #0
23: get member id 'realm' (113)
24: 0L
25: Func(2,2): MoveObjectToLocation
26: :=
27: #
if(!result)
28: local #2
29: if true goto 42
result := MoveObjectToLocation( who, where.x, where.y, where.z, who.realm, MOVE
30: local #0
31: local #1
32: get member id 'x' (0)
33: local #1
34: get member id 'y' (1)
35: local #1
36: get member id 'z' (2)
37: local #0
38: get member id 'realm' (113)
39: 1073741824L
40: Func(2,2): MoveObjectToLocation
41: local2 :=
42: leave block(1)
43: leave block(2)
44: progend


Map size is the same.

Thanks

_________________
Image

There is Upgrade only when script's advantage are for all players.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 19, 2006 7:53 am 
Offline

Joined: Wed May 10, 2006 9:15 pm
Posts: 113
But did you re-generate your realm data for that map?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 19, 2006 7:55 am 
Offline

Joined: Fri Aug 11, 2006 6:54 am
Posts: 74
Yes of course.

_________________
Image

There is Upgrade only when script's advantage are for all players.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 07, 2007 1:01 pm 
Offline
POL Developer
User avatar

Joined: Mon Feb 13, 2006 1:50 am
Posts: 830
Location: Indiana, USA
regions.cfg?

Also, sounds like an issue in the map generation possibly. Double check that area of your map.

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 11, 2007 10:51 am 
Offline

Joined: Fri Aug 11, 2006 6:54 am
Posts: 74
Here it is :)

http://forums.polserver.com/viewtopic.php?t=1197

_________________
Image

There is Upgrade only when script's advantage are for all players.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 15, 2007 12:59 am 
Offline
POL Developer
User avatar

Joined: Mon Feb 13, 2006 1:50 am
Posts: 830
Location: Indiana, USA
Try looking into the map in those areas causing the crash. I got a feeling you may find the map itself is the cause for the issues.

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 16, 2007 2:14 pm 
Offline
POL Developer
User avatar

Joined: Mon Feb 13, 2006 1:50 am
Posts: 830
Location: Indiana, USA
Check map AND statics.......

also, can you list the map tiles and static tiles that are at that location?

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 4 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl