• 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!

Lua ERROR: Unknown world type: pvp

Status
Not open for further replies.

Lava Titan

Developer
Joined
Jul 25, 2009
Messages
1,529
Solutions
1
Reaction score
85
Location
Portugal
Hello OTLand

Could someone explain me whats wrong with my config.lua?:$

Code:
[14:36:04.287] The Forgotten Server, version 0.4_DEV ()
[14:36:04.288] Compiled with GNU C++ version 3.4.5 (mingw special) at May  2 201
0, 17:33:45.
[14:36:04.288] A server developed by Elf, Talaturen, KaczooH, Stian and Kornholi
jo.
[14:36:04.289] Visit our forum for updates, support and resources: http://otland
.net.

[14:36:04.293] >> Loading config (config.lua)
[14:36:04.295] >> Opening logs
[14:36:04.312] > Using SHA1 encryption
[14:36:04.658] >> Checking software version... running sub version, please mind
it's unstable and only for testing purposes!
[14:36:04.659] > Current version information - version: 0.4_DEV, patch: 0, build
: 0, timestamp: 1272813899.
[14:36:04.659] > Latest version information - version: 0.3.6, patch: 0, build: 3
293, timestamp: 1260652199.
[14:36:04.660] >> Loading RSA key
[14:36:04.660] >> Starting SQL connection
[14:36:04.667] >> Running Database Manager
[14:36:05.508] > Optimizing table: account_viplist... [success]
[14:36:05.525] > Optimizing table: accounts... [success]
[14:36:05.563] > Optimizing table: bans... [success]
[14:36:05.577] > Optimizing table: environment_killers... [success]
[14:36:05.592] > Optimizing table: global_storage... [success]
[14:36:05.687] > Optimizing table: guild_invites... [success]
[14:36:05.702] > Optimizing table: guild_ranks... [success]
[14:36:05.721] > Optimizing table: guilds... [success]
[14:36:05.780] > Optimizing table: house_auctions... [success]
[14:36:05.820] > Optimizing table: house_data... [success]
[14:36:05.905] > Optimizing table: house_lists... [success]
[14:36:06.008] > Optimizing table: houses... [success]
[14:36:06.025] > Optimizing table: killers... [success]
[14:36:06.067] > Optimizing table: player_deaths... [success]
[14:36:06.085] > Optimizing table: player_depotitems... [success]
[14:36:06.201] > Optimizing table: player_items... [success]
[14:36:06.247] > Optimizing table: player_killers... [success]
[14:36:06.264] > Optimizing table: player_namelocks... [success]
[14:36:06.303] > Optimizing table: player_skills... [success]
[14:36:06.334] > Optimizing table: player_spells... [success]
[14:36:06.386] > Optimizing table: player_storage... [success]
[14:36:06.520] > Optimizing table: player_viplist... [success]
[14:36:06.767] > Optimizing table: players... [success]
[14:36:06.814] > Optimizing table: server_config... [success]
[14:36:06.831] > Optimizing table: server_motd... [success]
[14:36:06.879] > Optimizing table: server_record... [success]
[14:36:06.928] > Optimizing table: server_reports... [success]
[14:36:06.965] > Optimizing table: tile_items... [success]
[14:36:06.985] > Optimizing table: tiles... [success]
[14:36:06.986] >> Loading items
[14:36:07.393] >> Loading groups
[14:36:07.394] >> Loading vocations
[14:36:07.398] >> Loading script systems
[14:36:08.393] >> Loading chat channels
[14:36:08.397] >> Loading outfits
[14:36:08.403] >> Loading experience stages
[14:36:08.404] >> Loading monsters
[14:36:09.164] >> Loading mods...
[14:36:09.167] > Loading buypremium_command.xml... done.
[14:36:09.169] > Loading changender_command.xml... done.
[14:36:09.179] > Loading custommonsters.xml... done.
[14:36:09.194] > Loading firstitems.xml... done.
[14:36:09.200] > 6 mods were loaded.
[14:36:09.201] >> Loading map and spawns...
[14:36:11.283] > Map size: 5677x6988.
[14:36:11.284] > Map descriptions:
[14:36:11.285] "Saved with Remere's Map Editor 2.1"
[14:36:11.287] "SimOne MapEditor 0.5.2"
[14:36:28.922] > Map loading time: 19.72 seconds.
[14:36:32.132] > Data parsing time: 3.208 seconds.
[14:36:32.978] > Houses synchronization time: 0.846 seconds.
[14:37:20.948] > Content unserialization time: 47.969 seconds.
[14:37:20.949] >> Checking world type...

[14:37:20.951] > ERROR: Unknown world type: pvp

config.lua
Lua:
	worldType = "pvp"
	protectionLevel = 5000
	pvpTileIgnoreLevelAndVocationProtection = true
	pzLocked = 1000* 10
	huntingDuration = 1000 * 10
	criticalHitChance = 1000
	criticalHitMultiplier = 1
	displayCriticalHitNotify = true
	removeWeaponAmmunition = false
	removeWeaponCharges = false
	removeRuneCharges = false
	whiteSkullTime = 5 * 60 * 1000
	noDamageToSameLookfeet = false
	showHealingDamage = true
	showHealingDamageForMonsters = false
	fieldOwnershipDuration = 5 * 1000
	stopAttackingAtExit = false
	oldConditionAccuracy = false
	loginProtectionPeriod = 10 * 1000
	deathLostPercent = 10
	stairhopDelay = 2 * 1000
	pushCreatureDelay = 2 * 1000
	deathContainerId = 1987
	gainExperienceColor = 215
	addManaSpentInPvPZone = true
	squareColor = 0
	allowFightback = true
 
Thanks but now after open the server im having a problem with this:

[14:45:59.290] The Forgotten Server, version 0.4_DEV ()
[14:45:59.290] Compiled with GNU C++ version 3.4.5 (mingw special) at May 2 201
0, 17:33:45.
[14:45:59.290] A server developed by Elf, Talaturen, KaczooH, Stian and Kornholi
jo.
[14:45:59.291] Visit our forum for updates, support and resources: http://otland
.net.

[14:45:59.291] >> Loading config (config.lua)
[14:45:59.293] >> Opening logs
[14:45:59.319] > Using SHA1 encryption
[14:45:59.655] >> Checking software version... running sub version, please mind
it's unstable and only for testing purposes!
[14:45:59.656] > Current version information - version: 0.4_DEV, patch: 0, build
: 0, timestamp: 1272813899.
[14:45:59.656] > Latest version information - version: 0.3.6, patch: 0, build: 3
293, timestamp: 1260652199.
[14:45:59.657] >> Loading RSA key
[14:45:59.657] >> Starting SQL connection
[14:45:59.662] >> Running Database Manager
[14:46:00.458] > Optimizing table: account_viplist... [success]
[14:46:00.476] > Optimizing table: accounts... [success]
[14:46:00.491] > Optimizing table: bans... [success]
[14:46:00.507] > Optimizing table: environment_killers... [success]
[14:46:00.523] > Optimizing table: global_storage... [success]
[14:46:00.544] > Optimizing table: guild_invites... [success]
[14:46:00.669] > Optimizing table: guild_ranks... [success]
[14:46:00.685] > Optimizing table: guilds... [success]
[14:46:00.703] > Optimizing table: house_auctions... [success]
[14:46:00.722] > Optimizing table: house_data... [success]
[14:46:00.739] > Optimizing table: house_lists... [success]
[14:46:00.822] > Optimizing table: houses... [success]
[14:46:00.983] > Optimizing table: killers... [success]
[14:46:01.163] > Optimizing table: player_deaths... [success]
[14:46:01.178] > Optimizing table: player_depotitems... [success]
[14:46:01.193] > Optimizing table: player_items... [success]
[14:46:01.210] > Optimizing table: player_killers... [success]
[14:46:01.225] > Optimizing table: player_namelocks... [success]
[14:46:01.255] > Optimizing table: player_skills... [success]
[14:46:01.302] > Optimizing table: player_spells... [success]
[14:46:01.318] > Optimizing table: player_storage... [success]
[14:46:01.335] > Optimizing table: player_viplist... [success]
[14:46:01.380] > Optimizing table: players... [success]
[14:46:01.400] > Optimizing table: server_config... [success]
[14:46:01.438] > Optimizing table: server_motd... [success]
[14:46:01.498] > Optimizing table: server_record... [success]
[14:46:01.654] > Optimizing table: server_reports... [success]
[14:46:01.668] > Optimizing table: tile_items... [success]
[14:46:01.684] > Optimizing table: tiles... [success]
[14:46:01.685] >> Loading items
[14:46:02.075] >> Loading groups
[14:46:02.078] >> Loading vocations
[14:46:02.081] >> Loading script systems
[14:46:02.170] [Warning - ConjureSpell::loadFunction] Function "conjureFood" doe
s not exist.
[14:46:02.910] >> Loading chat channels
[14:46:02.913] >> Loading outfits
[14:46:02.920] >> Loading experience stages
[14:46:02.921] >> Loading monsters
[14:46:03.654] >> Loading mods...
[14:46:03.657] > Loading buypremium_command.xml... done.
[14:46:03.658] > Loading changender_command.xml... done.
[14:46:03.665] > Loading custommonsters.xml... done.
[14:46:03.669] > Loading customspells.xml...[Warning - Spells::registerEvent] Du
plicate registered rune with id: 2270
[14:46:03.671] [Warning - Spells::registerEvent] Duplicate registered rune with
id: 2272
[14:46:03.674] [Warning - Spells::registerEvent] Duplicate registered rune with
id: 2267
[14:46:03.676] done.
[14:46:03.678] > Loading firstitems.xml... done.
[14:46:03.680] > Loading highscorebook.xml...[Warning - Actions::registerEvent]
Duplicate registered item id: 1981
[14:46:03.681] done.
[14:46:03.681] > 6 mods were loaded.
[14:46:03.682] >> Loading map and spawns...
[14:46:05.754] > Map size: 5677x6988.
[14:46:05.755] > Map descriptions:
[14:46:05.757] "Saved with Remere's Map Editor 2.1"
[14:46:05.758] "SimOne MapEditor 0.5.2"
[14:46:08.071] Duplicate uniqueId 65535
[14:46:08.073] Duplicate uniqueId 23123
[14:46:08.074] Duplicate uniqueId 65535
[14:46:08.076] Duplicate uniqueId 65535
[14:46:12.051] Duplicate uniqueId 2264
[14:46:12.084] Duplicate uniqueId 2528
[14:46:13.301] Duplicate uniqueId 2495
[14:46:13.928] Duplicate uniqueId 1001
[14:46:13.963] Duplicate uniqueId 1002
[14:46:13.970] Duplicate uniqueId 2514
[14:46:14.356] Duplicate uniqueId 2090
[14:46:15.485] Duplicate uniqueId 2343
[14:46:15.910] Duplicate uniqueId 11111
[14:46:16.131] Duplicate uniqueId 2476
[14:46:16.134] Duplicate uniqueId 2477
[14:46:16.165] Duplicate uniqueId 2491
[14:46:16.169] Duplicate uniqueId 2487
[14:46:16.172] Duplicate uniqueId 2488
[14:46:18.003] Duplicate uniqueId 2407
[14:46:19.342] Duplicate uniqueId 2493
[14:46:19.343] Duplicate uniqueId 2520
[14:46:19.344] Duplicate uniqueId 2645
[14:46:19.391] Duplicate uniqueId 7002
[14:46:19.408] Duplicate uniqueId 2519
[14:46:19.748] Duplicate uniqueId 2494
[14:46:19.925] Duplicate uniqueId 12346
[14:46:20.150] Duplicate uniqueId 2477
[14:46:20.151] Duplicate uniqueId 2536
[14:46:20.181] Duplicate uniqueId 3966
[14:46:20.190] Duplicate uniqueId 2536
[14:46:20.689] Duplicate uniqueId 2493
[14:46:20.690] Duplicate uniqueId 2520
[14:46:20.691] Duplicate uniqueId 2645
[14:46:20.751] Duplicate uniqueId 2453
[14:46:20.752] Duplicate uniqueId 6528
[14:46:20.753] Duplicate uniqueId 5803
[14:46:20.758] Duplicate uniqueId 2365
[14:46:20.760] Duplicate uniqueId 2361
[14:46:20.765] Duplicate uniqueId 6566
[14:46:20.863] Duplicate uniqueId 3845
[14:46:20.871] Duplicate uniqueId 7001
[14:46:20.994] Duplicate uniqueId 2378
[14:46:21.099] Duplicate uniqueId 2492
[14:46:21.109] Duplicate uniqueId 2524
[14:46:21.122] Duplicate uniqueId 2462
[14:46:21.123] Duplicate uniqueId 2476
[14:46:21.123] Duplicate uniqueId 2477
[14:46:21.132] Duplicate uniqueId 2491
[14:46:21.139] Duplicate uniqueId 2488
[14:46:21.140] Duplicate uniqueId 2487
[14:46:21.192] Duplicate uniqueId 2645
[14:46:21.193] Duplicate uniqueId 2393
[14:46:21.279] Duplicate uniqueId 2392
[14:46:21.858] Duplicate uniqueId 7002
[14:46:21.861] Duplicate uniqueId 2519
[14:46:21.884] Duplicate uniqueId 2438
[14:46:21.931] Duplicate uniqueId 2195
[14:46:21.932] Duplicate uniqueId 2466
[14:46:21.934] Duplicate uniqueId 7003
[14:46:21.959] Duplicate uniqueId 2494
[14:46:21.961] Duplicate uniqueId 2514
[14:46:22.005] Duplicate uniqueId 2470
[14:46:22.052] Duplicate uniqueId 2520
[14:46:22.142] Duplicate uniqueId 2157
[14:46:22.192] Duplicate uniqueId 2434
[14:46:22.193] Duplicate uniqueId 2435
[14:46:22.260] Duplicate uniqueId 65535
[14:46:22.261] Duplicate uniqueId 65535
[14:46:23.558] > Map loading time: 19.809 seconds.
[14:46:27.274] [Warning - Houses::loadFromXml] House entry not set for: Forgotte
n headquarter (Flat 1, Area 42) (623)
[14:46:27.275] [Warning - Houses::loadFromXml] House entry not set for: Forgotte
n headquarter (Flat 1, Area 42) (1392)
[14:46:27.279] > Data parsing time: 3.72 seconds.
[14:46:28.396] > Houses synchronization time: 1.116 seconds.
[14:47:15.318] > Content unserialization time: 46.921 seconds.
[14:47:15.319] >> Checking world type... Open PvP
[14:47:15.319] >> Initializing game state modules and registering services...
[14:47:15.712] > ERROR: Failed to load players record!
[14:47:15.764] > Global address: flammingvets.servegame.com
[14:47:16.080] > Local ports: 7171 7172
[14:47:16.081] >> All modules were loaded, server is starting up...
[14:47:16.108] >> FlammingVets server Online!

> Broadcasted message: "Game map cleaning within 30 seconds, please pick up your
items!".
[14:47:16.887] > Saving server...
[14:47:20.592] > SAVE: Complete in 3.704 seconds using relational house storage.

> Broadcasted message: "Game map cleaning within 30 seconds, please pick up your
items!".
[14:47:20.624] > Saving server...
[14:47:24.070] > SAVE: Complete in 3.446 seconds using relational house storage.

> Broadcasted message: "Game map cleaning within 30 seconds, please pick up your
items!".
[14:47:24.101] > Saving server...
[14:47:27.290] > SAVE: Complete in 3.188 seconds using relational house storage.

> Broadcasted message: "Game map cleaning within 30 seconds, please pick up your
items!".
[14:47:27.541] > Saving server...
[14:47:30.889] > SAVE: Complete in 3.346 seconds using relational house storage.

> Broadcasted message: "Game map cleaning within 30 seconds, please pick up your
items!".
> Broadcasted message: "Everyone can vote again now.".
[14:47:31.065] > Saving server...
[14:47:34.523] > SAVE: Complete in 3.456 seconds using relational house storage.

> Broadcasted message: "Game map cleaning within 30 seconds, please pick up your
items!".
[14:47:34.560] > Saving server...
[14:47:37.993] > SAVE: Complete in 3.432 seconds using relational house storage.

> Broadcasted message: "Game map cleaning within 30 seconds, please pick up your
items!".
[14:47:38.059] > Saving server...
[14:47:41.642] > SAVE: Complete in 3.582 seconds using relational house storage.

> Broadcasted message: "Game map cleaning within 30 seconds, please pick up your
items!".
[14:47:41.690] > Saving server...
[14:47:45.136] > SAVE: Complete in 3.445 seconds using relational house storage.

> Broadcasted message: "Game map cleaning within 30 seconds, please pick up your
items!".
[14:47:45.172] > Saving server...
[14:47:48.514] > SAVE: Complete in 3.341 seconds using relational house storage.

> Broadcasted message: "Game map cleaning within 30 seconds, please pick up your
items!".
[14:47:48.564] > CLEAN: Removed 0 items from 1 tile (1 were marked) in 0 seconds
.
> Broadcasted message: "Game map cleaned, next clean in 2 hours.".
[14:47:48.615] > Saving server...
[14:47:52.379] > SAVE: Complete in 3.764 seconds using relational house storage.

> Broadcasted message: "Game map cleaning within 30 seconds, please pick up your
items!".
[14:47:52.423] > CLEAN: Removed 0 items from 0 tiles (0 were marked) in 0 second
s.
> Broadcasted message: "Game map cleaned, next clean in 2 hours.".
[14:47:52.425] > Saving server...
[14:47:55.579] > SAVE: Complete in 3.153 seconds using relational house storage.

> Broadcasted message: "Game map cleaning within 30 seconds, please pick up your
items!".
[14:47:55.661] > CLEAN: Removed 0 items from 0 tiles (0 were marked) in 0 second
s.
> Broadcasted message: "Game map cleaned, next clean in 2 hours.".
[14:47:55.829] > Saving server...
[14:47:59.101] > SAVE: Complete in 3.271 seconds using relational house storage.

> Broadcasted message: "Game map cleaning within 30 seconds, please pick up your
items!".
[14:47:59.138] > CLEAN: Removed 0 items from 1 tile (1 were marked) in 0 seconds
.
> Broadcasted message: "Game map cleaned, next clean in 2 hours.".
[14:47:59.276] > Saving server...
[14:48:02.480] > SAVE: Complete in 3.203 seconds using relational house storage.

> Broadcasted message: "Game map cleaning within 30 seconds, please pick up your
items!".
[14:48:02.516] > CLEAN: Removed 0 items from 0 tiles (0 were marked) in 0 second
s.
> Broadcasted message: "Game map cleaned, next clean in 2 hours.".
[14:48:02.724] > Saving server...

Lua:
	    <globalevent name="save" interval="3400" event="script" value="save.lua"/>
	    <globalevent name="clean" interval="3000" event="script" value="clean.lua"/>
 
Lua:
 <globalevent name="save" interval="34000" event="script" value="save.lua"/>
	    <globalevent name="clean" interval="30000" event="script" value="clean.lua"/>
 
Now im getting this error:
Code:
ERROR: Failed to load players record!

And since im using TFS 0.4 why when i try to log on tibia with client protocol 860 it says that only 854-857 protocol clients can do it?
 
Status
Not open for further replies.
Back
Top