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

Error on my PAGE!

zephirop

New Member
Joined
Sep 8, 2008
Messages
52
Reaction score
1
hi soo i was editing the towns of the page soo i open config i have nicaw for avesta 7.6 soo

i edite all fine and its says

Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\config.inc.php on line 167

and i open and i find line 167 and its say this


$cfg['temple'][6]['name'] = 'Ab'/dendriel';



here is all the note

<?php
##################################################
# CONFIGURATION #
##################################################
# Congratulations on finding configuration file. #
# This is very simililar to config.lua as it #
# follows same basic principles. Text in between #
# /* */ or starting with # is ignored. Text #
# values must be 'qouted'. Logical values are #
# true/false. All statements end with ; #
##################################################

# Set data directory of your OT server
$cfg['dirdata'] = 'C:/Users/Mota/Desktop/server_v4/server/data/';

$cfg['house_file'] = 'world/world2-house.xml';

# MySQL server settings
$cfg['SQL_Server'] = 'localhost';
$cfg['SQL_User'] = 'root';
$cfg['SQL_Password'] = 'xxxxx';
$cfg['SQL_Database'] = 'xxxxx';

# Must correspond to your OTServ configuration
# Options: plain, md5, sha1
$cfg['password_type'] = 'plain';

# Not currently supported by OTServ, leave empty
$cfg['password_salt'] = '';

/*
* Look skins/ to find out which skins you have
* Available skins:
* default - First skin ever created, white
* swamp - Green skin with swamp theme
* swamp-mini - Same as swamp.css, but with compact menu
* dark - Dark version of default.css
* conquest - Customized skin, renaissance theme
* essense - Clean skin with green/blue motives
* inferno - Darker skin with menu on the right
* silica - Green skin, technology theme
* Need more? Look What's new - OpenTibia Fans and
* Browse Nicaw AAC Files on SourceForge.net
*/
$cfg['skin'] = 'silica';

# In case you want to upload skins somewhere else
$cfg['skin_url'] = 'skins/';

/*
* Captcha is used to prevent automated software from
* flooding server with accounts
* GD2 PHP extension is required
*/
$cfg['use_captcha'] = true;

# Secure session will disable 'remember me' box
$cfg['secure_session'] = false;

# Seconds until session expires
$cfg['timeout_session'] = 15*60;

# Maximum number of characters on account
$cfg['maxchars'] = 10;

# Players per highscore page
$cfg['ranks_per_page'] = 50;

# This access and above will not be in highscores
$cfg['ranks_access'] = 2;

# Home page
$cfg['start_page'] = 'news.php';

# Name shown in window title
$cfg['server_name'] = 'Istera OldSchool';

# Server ip and port for getting status.
# In most cases localhost should be used
$cfg['server_ip'] = '127.0.0.1';
$cfg['server_port'] = 7171;

# Allow teleportation to temple?
$cfg['char_repair'] = false;

# Force users to validate their emails when registering?
# For email functions to work, SMTP server must be configured correctly
$cfg['Email_Validate'] = false;

# Allow email based account recovery?
$cfg['Email_Recovery'] = false;

# SMTP server configuration, use this to send emails
$cfg['SMTP_Host'] = '127.0.0.1';
$cfg['SMTP_Port'] = 25;
$cfg['SMTP_Auth'] = false;
$cfg['SMTP_User'] = '[email protected]';
$cfg['SMTP_Password'] = 'user';
$cfg['SMTP_From'] = '[email protected]';

/*
# Example configuration for gmail
# Don't forget to enable extension=php_openssl.dll in php.ini
$cfg['SMTP_Host'] = 'ssl://smtp.gmail.com';
$cfg['SMTP_Port'] = 465;
$cfg['SMTP_Auth'] = true;
$cfg['SMTP_User'] = '[email protected]';
$cfg['SMTP_Password'] = 'user';
$cfg['SMTP_From'] = '[email protected]';
*/

# Whether to show skills in character search
$cfg['show_skills'] = true;

# Whether to show deathlist in character search
$cfg['show_deathlist'] = true;

$cfg['skill_names'] = array('fist', 'club', 'sword', 'axe', 'distance', 'shielding', 'fishing');

# Banned names
$cfg['invalid_names'] = array('^gm','^god','admin','fuck','gamemaster', 'owner');

# Accounts that are allowed to access admin panel
# Example: array('account1', 'account2');
$cfg['admin_accounts'] = array();

# Listed IPs always allowed to access admin panel, no matter if it has account or not
$cfg['admin_ip'] = array('127.0.0.1');

# Player can only delete himself after specified inactivitiy time (seconds)
$cfg['player_delete_interval'] = 24*3600;

# Minimum level to create own guild. Cannot be lower than $cfg['guild_level']
$cfg['guild_leader_level'] = 20;

# Please disable guild manager if your server features guild editing
$cfg['guild_manager_enabled'] = true;

# Online status update interval (seconds). Should match statustimeout in your otserv configuration
$cfg['status_update_interval'] = 5*60;

# Shows more informatin when exception occurs. WARNING! Can reveal sensitive information.
$cfg['debug_backtrace'] = false;

# Schema control override. Disables/enables compatibility check for OTServ schema version.
$cfg['schema_check'] = false;

/*
* This will affect date displaying
* Look php timezones - Google Search for supported timezones.
*/
$cfg['timezone'] = 'UTC';

##################################################
# Town Config #
##################################################
/*
NOTICE
Town IDs must be correct and match those in your map
*/
# Town names
$cfg['temple'][1]['name'] = '';
$cfg['temple'][2]['name'] = 'Carlin';
$cfg['temple'][3]['name'] = 'Venore';
$cfg['temple'][4]['name'] = 'Thais';
$cfg['temple'][5]['name'] = 'Edron';
$cfg['temple'][6]['name'] = 'Ab'/dendriel';
$cfg['temple'][7]['name'] = 'Port Hope';
$cfg['temple'][8]['name'] = 'Ankrahmun';
$cfg['temple'][9]['name'] = 'Darashia';

# Now set which town(s) you want to use in character making
$cfg['temple'][2]['x'] = 32360;
$cfg['temple'][2]['y'] = 31781;
$cfg['temple'][2]['z'] = 7;
$cfg['temple'][2]['enabled'] = true;

$cfg['temple'][3]['x'] = 32957;
$cfg['temple'][3]['y'] = 32076;
$cfg['temple'][3]['z'] = 7;
$cfg['temple'][3]['enabled'] = true;

$cfg['temple'][4]['x'] = 32369;
$cfg['temple'][4]['y'] = 32241;
$cfg['temple'][4]['z'] = 7;
$cfg['temple'][4]['enabled'] = true;

##################################################
# Vocation Config #
##################################################
/*
Notice:
It's only one item per slot. You need to script special onLogin
event in OTServ to add more items to new players. Look What's new - OpenTibia Fans
for more information.
*/

################# No Vocation ####################
$id = 0;
$cfg['vocations'][$id]['name'] = 'No Vocation';
$cfg['vocations'][$id]['level'] = 1;
$cfg['vocations'][$id]['group'] = 1;
$cfg['vocations'][$id]['maglevel'] = 0;
$cfg['vocations'][$id]['health'] = 150;
$cfg['vocations'][$id]['mana'] = 0;
$cfg['vocations'][$id]['cap'] = 400;
$cfg['vocations'][$id]['enabled'] = false;

$cfg['vocations'][$id]['look'][0] = 138;
$cfg['vocations'][$id]['look'][1] = 130;

$cfg['vocations'][$id]['skills'][0] = 1;
$cfg['vocations'][$id]['skills'][1] = 1;
$cfg['vocations'][$id]['skills'][2] = 1;
$cfg['vocations'][$id]['skills'][3] = 1;
$cfg['vocations'][$id]['skills'][4] = 1;
$cfg['vocations'][$id]['skills'][5] = 1;
$cfg['vocations'][$id]['skills'][6] = 1;

$cfg['vocations'][$id]['equipment'][3] = 3939;
$cfg['vocations'][$id]['equipment'][4] = 2650;
$cfg['vocations'][$id]['equipment'][5] = 2382;
$cfg['vocations'][$id]['equipment'][10] = 2050;

################# Sorcerer #######################
$id = 1;
$cfg['vocations'][$id]['name'] = 'Sorcerer';
$cfg['vocations'][$id]['level'] = 8;
$cfg['vocations'][$id]['group'] = 1;
$cfg['vocations'][$id]['maglevel'] = 0;
$cfg['vocations'][$id]['health'] = 185;
$cfg['vocations'][$id]['mana'] = 35;
$cfg['vocations'][$id]['cap'] = 470;
$cfg['vocations'][$id]['enabled'] = true;

$cfg['vocations'][$id]['look'][0] = 138;
$cfg['vocations'][$id]['look'][1] = 130;

$cfg['vocations'][$id]['skills'][0] = 10;
$cfg['vocations'][$id]['skills'][1] = 10;
$cfg['vocations'][$id]['skills'][2] = 10;
$cfg['vocations'][$id]['skills'][3] = 10;
$cfg['vocations'][$id]['skills'][4] = 10;
$cfg['vocations'][$id]['skills'][5] = 10;
$cfg['vocations'][$id]['skills'][6] = 10;

$cfg['vocations'][$id]['equipment'][1] = 2480;
$cfg['vocations'][$id]['equipment'][2] = 2172;
$cfg['vocations'][$id]['equipment'][3] = 2000;
$cfg['vocations'][$id]['equipment'][4] = 2464;
$cfg['vocations'][$id]['equipment'][6] = 2530;
$cfg['vocations'][$id]['equipment'][7] = 2468;
$cfg['vocations'][$id]['equipment'][8] = 2643;

################# Druid ##########################
$id = 2;
$cfg['vocations'][$id]['name'] = 'Druid';
$cfg['vocations'][$id]['level'] = 8;
$cfg['vocations'][$id]['group'] = 1;
$cfg['vocations'][$id]['maglevel'] = 0;
$cfg['vocations'][$id]['health'] = 185;
$cfg['vocations'][$id]['mana'] = 35;
$cfg['vocations'][$id]['cap'] = 470;
$cfg['vocations'][$id]['enabled'] = true;

$cfg['vocations'][$id]['look'][0] = 138;
$cfg['vocations'][$id]['look'][1] = 130;

$cfg['vocations'][$id]['skills'][0] = 10;
$cfg['vocations'][$id]['skills'][1] = 10;
$cfg['vocations'][$id]['skills'][2] = 10;
$cfg['vocations'][$id]['skills'][3] = 10;
$cfg['vocations'][$id]['skills'][4] = 10;
$cfg['vocations'][$id]['skills'][5] = 10;
$cfg['vocations'][$id]['skills'][6] = 10;

$cfg['vocations'][$id]['equipment'][1] = 2480;
$cfg['vocations'][$id]['equipment'][2] = 2172;
$cfg['vocations'][$id]['equipment'][3] = 2000;
$cfg['vocations'][$id]['equipment'][4] = 2464;
$cfg['vocations'][$id]['equipment'][6] = 2530;
$cfg['vocations'][$id]['equipment'][7] = 2468;
$cfg['vocations'][$id]['equipment'][8] = 2643;

################# Paladin #######################
$id = 3;
$cfg['vocations'][$id]['name'] = 'Paladin';
$cfg['vocations'][$id]['level'] = 8;
$cfg['vocations'][$id]['group'] = 1;
$cfg['vocations'][$id]['maglevel'] = 0;
$cfg['vocations'][$id]['health'] = 185;
$cfg['vocations'][$id]['mana'] = 35;
$cfg['vocations'][$id]['cap'] = 470;
$cfg['vocations'][$id]['enabled'] = true;

$cfg['vocations'][$id]['look'][0] = 137;
$cfg['vocations'][$id]['look'][1] = 129;

$cfg['vocations'][$id]['skills'][0] = 10;
$cfg['vocations'][$id]['skills'][1] = 10;
$cfg['vocations'][$id]['skills'][2] = 10;
$cfg['vocations'][$id]['skills'][3] = 10;
$cfg['vocations'][$id]['skills'][4] = 10;
$cfg['vocations'][$id]['skills'][5] = 10;
$cfg['vocations'][$id]['skills'][6] = 10;

$cfg['vocations'][$id]['equipment'][1] = 2480;
$cfg['vocations'][$id]['equipment'][2] = 2172;
$cfg['vocations'][$id]['equipment'][3] = 2000;
$cfg['vocations'][$id]['equipment'][4] = 2464;
$cfg['vocations'][$id]['equipment'][6] = 2530;
$cfg['vocations'][$id]['equipment'][7] = 2468;
$cfg['vocations'][$id]['equipment'][8] = 2643;

################# Knight #########################
$id = 4;
$cfg['vocations'][$id]['name'] = 'Knight';
$cfg['vocations'][$id]['level'] = 8;
$cfg['vocations'][$id]['group'] = 1;
$cfg['vocations'][$id]['maglevel'] = 0;
$cfg['vocations'][$id]['health'] = 185;
$cfg['vocations'][$id]['mana'] = 35;
$cfg['vocations'][$id]['cap'] = 470;
$cfg['vocations'][$id]['enabled'] = true;

$cfg['vocations'][$id]['look'][0] = 139;
$cfg['vocations'][$id]['look'][1] = 131;

$cfg['vocations'][$id]['skills'][0] = 10;
$cfg['vocations'][$id]['skills'][1] = 10;
$cfg['vocations'][$id]['skills'][2] = 10;
$cfg['vocations'][$id]['skills'][3] = 10;
$cfg['vocations'][$id]['skills'][4] = 10;
$cfg['vocations'][$id]['skills'][5] = 10;
$cfg['vocations'][$id]['skills'][6] = 10;

$cfg['vocations'][$id]['equipment'][1] = 2480;
$cfg['vocations'][$id]['equipment'][2] = 2172;
$cfg['vocations'][$id]['equipment'][3] = 2000;
$cfg['vocations'][$id]['equipment'][4] = 2464;
$cfg['vocations'][$id]['equipment'][6] = 2530;
$cfg['vocations'][$id]['equipment'][7] = 2468;
$cfg['vocations'][$id]['equipment'][8] = 2643;

################# Other IDs ######################

$cfg['vocations'][5]['name'] = 'Master Sorcerer';
$cfg['vocations'][6]['name'] = 'Elder Druid';
$cfg['vocations'][7]['name'] = 'Royal Paladin';
$cfg['vocations'][8]['name'] = 'Elite Knight';
?>
 
try

PHP:
$cfg['temple'][2]['name'] = 'Carlin';
$cfg['temple'][3]['name'] = 'Venore';
$cfg['temple'][4]['name'] = 'Thais';
$cfg['temple'][5]['name'] = 'Edron';
$cfg['temple'][6]['name'] = 'Ab dendriel';
$cfg['temple'][7]['name'] = 'Port Hope';
$cfg['temple'][8]['name'] = 'Ankrahmun';
$cfg['temple'][9]['name'] = 'Darashia';
 
Replace:
PHP:
$cfg['temple'][6]['name'] = 'Ab'/dendriel';

With this:
PHP:
$cfg['temple'][6]['name'] = 'Ab\'dendriel';
 
now it works soo ty reputation for both (:

another questions any one know where i can download like RL NPC :S i need alot because mine dostn work

:: Avesta Version 0.6.1
:: Compilation date: May 6 2010 18:54:09
:: Modified and fixed by: Tryller, Shenlong, Shynzo
:: ==============================================
::
:: Initializing the random numbers... [done]
:: Loading lua script config.lua... [done]
>> Checking SQL Connection... MySQL.
:: Loading data/XML/vocations.xml... [done]
:: Loading data/XML/commands.xml... [done]
:: Loading data/items/items.otb... [done]
:: Loading data/items/items.xml... [done]
:: Loading Script Systems
:: Loading Weapons ...[done]
:: Loading Spells ...[done]
:: Loading Actions ...[done]
:: Loading Talkactions ...[done]
:: Loading MoveEvents ...[done]
:: Loading CreatureEvents ...[done]
:: Loading data/monsters/monsters.xml... [done]
:: Loading stages.xml... [done]
:: Checking Schema version... Version = 1 [done]
:: Worldtype: PVP
:: Skulls enabled
:: Use SHA1 passwords
:: Loading map from: data/world/world2.otbm OTBM
:: Map size: 65000x65000
:: Map description: Saved with Remere's Map Editor 1.1.4
:: Map description: SimOne MapEditor 0.4.49
:: Notice: [OTBM Loader] Loading time : 40.484 s
I/O warning : failed to load external entity "data/npc/Pino.xml"
I/O warning : failed to load external entity "data/npc/Alexander.xml"
I/O warning : failed to load external entity "data/npc/Uzon.xml"
I/O warning : failed to load external entity "data/npc/Dario.xml"
I/O warning : failed to load external entity "data/npc/Luna.xml"
I/O warning : failed to load external entity "data/npc/Sigurd.xml"
I/O warning : failed to load external entity "data/npc/Boozer.xml"
I/O warning : failed to load external entity "data/npc/Tandros.xml"
I/O warning : failed to load external entity "data/npc/Fenech.xml"
I/O warning : failed to load external entity "data/npc/Shiriel.xml"
I/O warning : failed to load external entity "data/npc/Captain Seagull.xml"
I/O warning : failed to load external entity "data/npc/Captain Seahorse.xml"
I/O warning : failed to load external entity "data/npc/Willard.xml"
I/O warning : failed to load external entity "data/npc/Mirabell.xml"
I/O warning : failed to load external entity "data/npc/Beatrice.xml"
I/O warning : failed to load external entity "data/npc/Rashid.xml"
I/O warning : failed to load external entity "data/npc/Captain Greyhound.xml"
I/O warning : failed to load external entity "data/npc/Pemaret.xml"
I/O warning : failed to load external entity "data/npc/Captain Fearless.xml"
I/O warning : failed to load external entity "data/npc/Seki.xml"
I/O warning : failed to load external entity "data/npc/Frans.xml"
I/O warning : failed to load external entity "data/npc/Chephan.xml"
I/O warning : failed to load external entity "data/npc/Nelliem.xml"
I/O warning : failed to load external entity "data/npc/Shiantis.xml"
I/O warning : failed to load external entity "data/npc/Aldo.xml"
I/O warning : failed to load external entity "data/npc/Xed.xml"
I/O warning : failed to load external entity "data/npc/King.xml"
I/O warning : failed to load external entity "data/npc/Captain Bluebear.xml"
I/O warning : failed to load external entity "data/npc/Galuna.xml"
I/O warning : failed to load external entity "data/npc/Chemar.xml"
I/O warning : failed to load external entity "data/npc/Petros.xml"
I/O warning : failed to load external entity "data/npc/Perod.xml"
I/O warning : failed to load external entity "data/npc/Brengus.xml"
I/O warning : failed to load external entity "data/npc/Ray.xml"
I/O warning : failed to load external entity "data/npc/Charles.xml"
I/O warning : failed to load external entity "data/npc/Memech.xml"
I/O warning : failed to load external entity "data/npc/Ahmet.xml"
I/O warning : failed to load external entity "data/npc/Jezzara.xml"
I/O warning : failed to load external entity "data/npc/Belkisa.xml"
I/O warning : failed to load external entity "data/npc/Captain Sinbeard.xml"
I/O warning : failed to load external entity "data/npc/Anerui.xml"
I/O warning : failed to load external entity "data/npc/Irea.xml"
I/O warning : failed to load external entity "data/npc/Olrik.xml"
I/O warning : failed to load external entity "data/npc/Liane.xml"
I/O warning : failed to load external entity "data/npc/Dane.xml"
I/O warning : failed to load external entity "data/npc/Cornelia.xml"
I/O warning : failed to load external entity "data/npc/Sarina.xml"
I/O warning : failed to load external entity "data/npc/Chrystal.xml"
I/O warning : failed to load external entity "data/npc/Rachel.xml"
I/O warning : failed to load external entity "data/npc/Yindia.xml"
I/O warning : failed to load external entity "data/npc/Sandra.xml"
I/O warning : failed to load external entity "data/npc/Dove.xml"
I/O warning : failed to load external entity "data/npc/Sam.xml"
I/O warning : failed to load external entity "data/npc/Gorn.xml"
I/O warning : failed to load external entity "data/npc/Frodo.xml"
I/O warning : failed to load external entity "data/npc/H.E.xml"
I/O warning : failed to load external entity "data/npc/Benjamin.xml"
I/O warning : failed to load external entity "data/npc/Xodet.xml"
I/O warning : failed to load external entity "data/npc/Pol.xml"
I/O warning : failed to load external entity "data/npc/Asima.xml"
I/O warning : failed to load external entity "data/npc/Mugluf.xml"
I/O warning : failed to load external entity "data/npc/Halif.xml"
I/O warning : failed to load external entity "data/npc/Edoch.xml"
I/O warning : failed to load external entity "data/npc/Azil.xml"
I/O warning : failed to load external entity "data/npc/Jakahr.xml"
I/O warning : failed to load external entity "data/npc/Bashira.xml"
I/O warning : failed to load external entity "data/npc/Kroox.xml"
I/O warning : failed to load external entity "data/npc/Nezil.xml"
[Spawn::addMonster] Can not find Bonebeast
[Spawn::addMonster] Can not find Bonebeast
[Spawn::addMonster] Can not find Bonebeast
Error: [Houses::loadHousesXML] Unknown house, id = 158
WARNING: could not load house data.
:: Notice: Map load (relational) took : 18.953 s
::
:: Running on host Mota-PC
:: Local IP address(es): 72.199.119.202
:: Local port: 7171
:: Global IP address: 127.0.0.1
::
:: Starting Server... [done]
:: OpenTibia Server Running...
:: Notice: Map save (relational) took : 12.469 s
:: Notice: Map save (relational) took : 5.485 s
:: Notice: Map save (relational) took : 11.828 s
:: Notice: Map save (relational) took : 8.125 s


AND A NEW ONE i cant enter too my own ot :S i put 127.0.0.1 and nothing S: and then i put 72.199.119.202 HELP ME ON BOTH I GIVE YOU REPUTTION
 
Last edited:
to get the npc, download an old rl server, use the npcs from there and update them manually. Maybe you forgot to port forward?
 
i used a map editor and npcs/spawns werent on the map <actual monster figures> while being edited, when i saved it wiped them..

i fixed by reinstalling, then used reme and the npcs stayed and could see spawns while editing
if you edited the map you might have wiped the npc from map this was 8.5, not 7.6 tho ;/
 
Back
Top