• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Targetdistance greater than maxViewportX

tyngaste

New Member
Joined
Dec 2, 2008
Messages
223
Reaction score
0
Location
Sweden
[Warning - Monsters::loadMonster] targetdistance greater than maxViewportX. data/monster/birds/seagull.xml

[Warning - Monsters::loadMonster] targetdistance greater than maxViewportX. data/monster/frogs/green frog.xml

anyone know what the problem is? if so please help me i have really no clue about this one.

thanks in advance
 
Change the <flag targetdistance="X"/> inside your seagull and green frog files. Where X represents the number you have, lower it to for example, 4.
 
Change the <flag targetdistance="X"/> inside your seagull and green frog files. Where X represents the number you have, lower it to for example, 4.

thanks i got it work seems like your good at this.

i now got this when starting my server

[19/02/2009 22:56:08] >> Loading config (config.lua)
[19/02/2009 22:56:08] > Using plaintext passwords
[19/02/2009 22:56:08] >> Loading RSA key
[19/02/2009 22:56:08] >> Starting SQL connection
[19/02/2009 22:56:08] >> Running Database Manager
[19/02/2009 22:56:09] > Optimizing table: accounts
[19/02/2009 22:56:09] > Optimizing table: bans
[19/02/2009 22:56:09] > Optimizing table: global_storage
[19/02/2009 22:56:09] > Optimizing table: groups
[19/02/2009 22:56:10] > Optimizing table: guild_invites
[19/02/2009 22:56:10] > Optimizing table: guild_ranks
[19/02/2009 22:56:10] > Optimizing table: guilds
[19/02/2009 22:56:10] > Optimizing table: house_lists
[19/02/2009 22:56:11] > Optimizing table: houses
[19/02/2009 22:56:11] > Optimizing table: player_deaths
[19/02/2009 22:56:11] > Optimizing table: player_depotitems
[19/02/2009 22:56:11] > Optimizing table: player_items
[19/02/2009 22:56:12] > Optimizing table: player_skills
[19/02/2009 22:56:12] > Optimizing table: player_spells
[19/02/2009 22:56:12] > Optimizing table: player_storage
[19/02/2009 22:56:13] > Optimizing table: player_viplist
[19/02/2009 22:56:13] > Optimizing table: players
[19/02/2009 22:56:13] > Optimizing table: server_config
[19/02/2009 22:56:13] > Optimizing table: server_motd
[19/02/2009 22:56:14] > Optimizing table: server_record
[19/02/2009 22:56:14] > Optimizing table: server_reports
[19/02/2009 22:56:15] > Optimizing table: tile_items
[19/02/2009 22:56:15] > Optimizing table: tiles
[19/02/2009 22:56:15] >> Loading vocations
[19/02/2009 22:56:15] >> Loading items
[19/02/2009 22:56:15] >> Loading script systems
[19/02/2009 22:56:16] [Warning - Action::loadFunction] Function "highscoreBook" does not exist.
[19/02/2009 22:56:16] [Warning - Actions::registerEvent] Duplicate registered item with id: 5543
[19/02/2009 22:56:16] [Warning - Actions::registerEvent] Duplicate registered item with id: 2553
[19/02/2009 22:56:16] [Warning - Actions::registerEvent] Duplicate registered item with id: 6570
[19/02/2009 22:56:16] [Warning - Actions::registerEvent] Duplicate registered item with id: 6571
[19/02/2009 22:56:16] [Warning - Actions::registerEvent] Duplicate registered item with id: 6576
[19/02/2009 22:56:16] [Warning - Actions::registerEvent] Duplicate registered item with id: 6558
[19/02/2009 22:56:16] [Warning - Actions::registerEvent] Duplicate registered item with uniqueid: 50000
[19/02/2009 22:56:16] [Warning - Actions::registerEvent] Duplicate registered item with uniqueid: 60000
[19/02/2009 22:56:16] >> Loading monsters
[19/02/2009 22:56:17] >> Loading outfits
[19/02/2009 22:56:17] >> Loading experience stages
[19/02/2009 22:56:17] >> Checking world type... PvP
[19/02/2009 22:56:17] >> Loading map and spawns...
[19/02/2009 22:56:26] > Map size: 65000x65000.
[19/02/2009 22:56:33] Duplicate uniqueId 2365
[19/02/2009 22:56:39] Duplicate uniqueId 2160
[19/02/2009 22:56:39] Duplicate uniqueId 14002
[19/02/2009 22:56:41] Duplicate uniqueId 2086
[19/02/2009 22:56:48] Duplicate uniqueId 2520
[19/02/2009 22:56:48] Duplicate uniqueId 1050

i get runtime error after that you know what the prob is and also how to fix the other errors when i start it?


thanks in advance
 
In your actions.xml, you have duplicate item and unique ids (means you have several of the same id, change them and the errors shall be removed). You do also have function="highscoreBook" which does't exist, remove that line or comment it. : )
 
In your actions.xml, you have duplicate item and unique ids (means you have several of the same id, change them and the errors shall be removed). You do also have function="highscoreBook" which does't exist, remove that line or comment it. : )

i'm a bit confused what should i change them to? doesnt it get messed if i change these numbers in actions.xml please help me with what these numbers i should change them to.

thanks in advance and what is the character i need to put to disable highscoreBook for the moment in action?
 
To comment something inside a XML file, simply wrap <!-- and --> around the text (e.g. <!-- <action command here> -->). Concerning the other errors you recieve - What this means is that you are using the same ID twice or more, these are mostly warnings but shouldn't be overlooked either. To change these, you first need to change them inside your actions.xml file and then open your mapeditor, find the place where they are located at and change them there aswell.

If you encounter any further errors, feel free to contact me again. : )
 
To comment something inside a XML file, simply wrap <!-- and --> around the text (e.g. <!-- <action command here> -->). Concerning the other errors you recieve - What this means is that you are using the same ID twice or more, these are mostly warnings but shouldn't be overlooked either. To change these, you first need to change them inside your actions.xml file and then open your mapeditor, find the place where they are located at and change them there aswell.

If you encounter any further errors, feel free to contact me again. : )

thanks, but seems like i got a bigger problem then this, my server go down telling,

( Microsoft Visual C++ Runtime Library

Runtime Error!

Program: ... 1337\desktop\tfs\theforgottenserver gui.exe
this application has requested the runtime to terminate it in an unusual way. Please contact the application's support team for more information. )
 
Try using another map (just for testing purposes), if the issue remains, try commenting all the actions inside the actions.xml file, movements.xml, talkactions.xml etc until you find what causes the termination. When you do, please inform me.
 
Back
Top