Alex

Miembro del equipo
Webdesigner
LV
58
 
Awards
38
Hola a todos,

Hoy haré un pequeño tutorial sobre el ZnoteAAC y lo que hay que configurar para que la pagina web se abra en 127.0.0.1 / localhost / o su url.

Las modificaciones, son muy minimas, hay apenas unas 4-5 líneas que tener en cuenta, lo demás son opciones,

1- Descargar ZnoteAAC y donde poner los archivos

Primeramente, deberéis de utilizar un conector ( Xampp, Uniserver alias UniserverZ , WorkBench, Wampp... ) Todos estos programas son programas que funcionan con Apache & MySQL, el Apache es el que permite mostrar su pagina web y el MySQL el gestor de base de datos ( podría ser MariaDB u otro ).

En este caso una vez descargado, si utilizáis Xampp, pondréis los archivos ( no la carpeta principal, sino que los archivos dentro de la carpeta ) en la carpeta HTDOCS.
Si usais el UniserverZ Server ( UniserverZ ) los pondréis dentro de la carpeta WWW.

2- La configuración

La configuración es donde ira la información mas importante, en el caso de ZnoteAAC, se configura en el archivo config.php que encontrareis en la raíz de vuestra carpeta.
Antes que nada, deberéis de crear en PhpMyAdmin, una cuenta de usuario con contraseña y una base datos, acabando dándole los derechos al usuario a su base de datos.
Este ultimo lo abriremos con el Notepad ( Línea 17 hasta 43 ) :
Código:
$config['ServerEngine'] = 'TFS_10';
    // As far as I know, OTX is based on TFS_03, so make sure TFS version is configured TFS_03
    $config['CustomVersion'] = false;

    $config['site_title'] = 'LepiigorTV';
    $config['site_title_context'] = 'Mmorpg online';
    $config['site_url'] = "";
   

    // Path to server folder without "\" (or "/") at the end, ex: C:\Users\Username\Documents\GitHub\forgottenserver
    $config['server_path'] = 'C:/Users/Desktop/global 12.64/';

    // ------------------------ \\
    // MYSQL CONNECTION DETAILS \\

    // ------------------------ \\
    // phpmyadmin username for OT server: (DONT USE "root" if you are hosting to public).
    $config['sqlUser'] = 'USUARIO_PHPMYADMIN';

    // phpmyadmin password for OT server:
    $config['sqlPassword'] = 'PASSWORD_PHPMYADMIN';

    // The database name to connect to. (This is usually same as username).
    $config['sqlDatabase'] = 'NOMBRE_BASE_DE_DATOS';

    // Hostname is usually localhost or 127.0.0.1.
    $config['sqlHost'] = '127.0.0.1';

Línea 17: TFS_10 , la version del TFS del juego, si va a ser un 12x, entonces quedara en TFS_10 ( si usais el the forgotten server, en el caso de OTX es TFS_03 )
Línea 27: C:/users/desktop/global 12.64/ , aquí ira la dirección en donde esta ubicado su servidor, en este caso al ejemplo se encuentra en el escritorio, las barras las pondremos / de este sentido, en el caso que aparezca un error , pondréis las barras en el otro sentido \.
Línea 34: Nombre de usuario PhpMyAdmin
Línea 37: Password PhpMyAdmin
Línea 40: Nombre de la base de datos PhpMyAdmin

Con esto hecho, deberíamos de ver aparecer nuestra pagina web funcional.

Detalles:

Línea 604
: https://lepiigortv.com/animatedoutfits/animoutfit.php , seria la URL de los animatedOutfits, podéis utilizar la nueva URL, ver en tutoriales.
Línea 660: 'name' => 'xxxxxx' , donde el xxxxxx Tiene que ser el Mismo nombre de vuestro servidor que indicado en el config.lua de vuestro servidor
Línea 668: 'xxx' Nombre de cuenta del GOD, para acceder al panel Admin de la pagina web
Línea 669: 'xxx' Password del GOD
Línea 961: lepiigortv.com/animateditems , es la URL de los animatedItems, podéis utilizar esta url
Línea 882: Paypal, si esta en False, no aceptara Paypal en método de pago en la web, poneis true en este caso.
Línea 883: Dirección de correo electrónico paypal
Línea 896: Hay 2 numeros, a la izquierda son los USD / EUR ( precio de los puntos ), a la derecha el numero de puntos, 10 => 80, 10 USD son 80 pts.
Línea 956: Si esta en false, el Shop de la web no se mostrara, poneis true.
Línea 998: Empiezan los Items/Mounts/Outfits, que venderéis en vuestra web.
 
Última edición:

francisko

Miembro
LV
12
 
Awards
9
No changelogs submitted.
Warning: fopen(engine/cache/news.cache.php): Failed to open stream: No such file or directory in C:\Xampp\htdocs\engine\function\cache.php on line 91

Fatal error
: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in C:\Xampp\htdocs\engine\function\cache.php:92 Stack trace: #0 C:\Xampp\htdocs\engine\function\cache.php(92): fwrite(false, false) #1 C:\Xampp\htdocs\layout\sub\index.php(34): Cache->save() #2 C:\Xampp\htdocs\sub.php(4): require_once('C:\\Xampp\\htdocs...') #3 {main} thrown in C:\Xampp\htdocs\engine\function\cache.php on line 92

Hola a que se debe este error ?
 

Alex

Miembro del equipo
Webdesigner
LV
58
 
Awards
38
No changelogs submitted.
Warning: fopen(engine/cache/news.cache.php): Failed to open stream: No such file or directory in C:\Xampp\htdocs\engine\function\cache.php on line 91

Fatal error
: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in C:\Xampp\htdocs\engine\function\cache.php:92 Stack trace: #0 C:\Xampp\htdocs\engine\function\cache.php(92): fwrite(false, false) #1 C:\Xampp\htdocs\layout\sub\index.php(34): Cache->save() #2 C:\Xampp\htdocs\sub.php(4): require_once('C:\\Xampp\\htdocs...') #3 {main} thrown in C:\Xampp\htdocs\engine\function\cache.php on line 92

Hola a que se debe este error ?
Hola, el error se debe a que tu carpeta no tiene la carpeta cache, entra aquí descárgala y ponla en tu web, dentro de la carpeta engine,

 

poncex

Miembro
LV
12
 
Awards
5
hola amigo tengo un problema al tratar de crear una cuenta me sale el siguiente error

Fatal error: Uncaught mysqli_sql_exception: Unknown column 'active_email' in 'field list' in C:\Xampp\htdocs\engine\database\connect.php:90 Stack trace: #0 C:\Xampp\htdocs\engine\database\connect.php(90): mysqli_query(Object(mysqli), 'INSERT INTO `zn...') #1 C:\Xampp\htdocs\engine\database\connect.php(80): voidQuery('INSERT INTO `zn...') #2 C:\Xampp\htdocs\engine\function\users.php(1261): mysql_insert('INSERT INTO `zn...') #3 C:\Xampp\htdocs\register.php(148): user_create_account(Array, Array) #4 {main} thrown in C:\Xampp\htdocs\engine\database\connect.php on line 90
 

Alex

Miembro del equipo
Webdesigner
LV
58
 
Awards
38
hola amigo tengo un problema al tratar de crear una cuenta me sale el siguiente error
Hola,

Que pagina web ( supongo que znote.. ) pero qué layout, y sobretodo que servidor estas utilizando ?
La columna active_email, parece ser fuera del znote, es decir del servidor que estas usando, y puede que esa base de datos sea incorrecta o que el TFS, configurado en el config.php sea erróneo.
 

sbslobo

Miembro
LV
1
 
Awards
3
hola amigo.

estoy usando el tibia theme de aqui de la página y abre todo bien, subí mi página a un vps y puedo acceder a ella,. Sin embargo no me deja crear una cuenta a menos que lo haga desde el mismo vps (o sea de manera local), al intentarlo desde otra ip, simplemente se queda asi:

1663644023498.png

Cabe destacar que estoy usando Uniserver y esto es lo unico que me falla
 

Alex

Miembro del equipo
Webdesigner
LV
58
 
Awards
38
hola amigo.

estoy usando el tibia theme de aqui de la página y abre todo bien, subí mi página a un vps y puedo acceder a ella,. Sin embargo no me deja crear una cuenta a menos que lo haga desde el mismo vps (o sea de manera local), al intentarlo desde otra ip, simplemente se queda asi:

Ver archivo adjunto 3061

Cabe destacar que estoy usando Uniserver y esto es lo unico que me falla
Hola,
Si suele ocurrir,
Para arreglar esto desinstala el uniserver e instala el Xampp.
 

Ancestral

Miembro
LV
1
 
Awards
4
Hola, tengo un problema al crear un nuevo personaje desde la pagina (de manera local), no lo crea y se queda en la misma pagina createcharacter.php
Estoy usando ZnoteACC Game Addict y puedo crear nuevas cuentas pero no un nuevo personaje.
 

Alex

Miembro del equipo
Webdesigner
LV
58
 
Awards
38
Hola, tengo un problema al crear un nuevo personaje desde la pagina (de manera local), no lo crea y se queda en la misma pagina createcharacter.php
Estoy usando ZnoteACC Game Addict y puedo crear nuevas cuentas pero no un nuevo personaje.
Hola,
Quizás prueba de pasar a uniserver o a Xampp ?
Si estás en uno prueba en otro. A veces soluciona el problema.
 

Ancestral

Miembro
LV
1
 
Awards
4
Hice la prueba pero sigue igual. Ahora al menos se puede ver los errores por la pagina.
Warning: Undefined array key "creatureNameTags" in H:\Xampp\htdocs\createcharacter.php on line 44

Fatal error
: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in H:\Xampp\htdocs\createcharacter.php:44 Stack trace: #0 H:\Xampp\htdocs\createcharacter.php(44): in_array('nom', NULL) #1 {main} thrown in H:\Xampp\htdocs\createcharacter.php on line 44
 

Ancestral

Miembro
LV
1
 
Awards
4
Hice la prueba pero sigue igual. Ahora al menos se puede ver los errores por la pagina.
Warning: Undefined array key "creatureNameTags" in H:\Xampp\htdocs\createcharacter.php on line 44

Fatal error
: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in H:\Xampp\htdocs\createcharacter.php:44 Stack trace: #0 H:\Xampp\htdocs\createcharacter.php(44): in_array('nom', NULL) #1 {main} thrown in H:\Xampp\htdocs\createcharacter.php on line 44
Lo solucione configurando config.php faltaba el arreglo 'creatureNameTags'.
$config['creatureNameTags'] = array(
"acolyte of the cult", "adept of the cult", "amazon", "ancient scarab", "arachnophobica", "assassin", "azure frog", "badger", "bandit", "banshee", "barbarian bloodwalker", "barbarian brutetamer", "barbarian headsplitter", "barbarian skullhunter", "bat", "bear", "behemoth", "betrayed wraith", "biting book", "black knight", "black sphinx acolyte", "blightwalker", "blood beast", "blood crab", "blood hand", "blood priest", "blue djinn", "boar", "bog frog", "bog raider", "bonebeast", "bonelord", "boogy", "brain squid", "braindeath", "breach brood", "brimstone bug", "burning book", "burning gladiator", "burster spectre", "carniphila", "carrion worm", "cave devourer", "centipede", "chakoya toolshaper", "chakoya tribewarden", "chakoya windcaller", "choking fear", "clay guardian", "clomp", "cobra", "coral frog", "corym charlatan", "corym skirmisher", "corym vanguard", "crab", "crazed beggar", "crazed summer rearguard", "crazed summer vanguard", "crazed winter rearguard", "crazed winter vanguard", "crimson frog", "crocodile", "crypt defiler", "crypt shambler", "crypt warden", "crystal spider", "crystalcrusher", "cult believer", "cult enforcer", "cult scholar", "cyclops", "cyclops drone", "cyclops smith", "dark apprentice", "dark faun", "dark magician", "dark monk", "dark torturer", "dawnfire asura", "death blob", "deathling scout", "deathling spellsinger", "deepling guard", "deepling scout", "deepling spellsinger", "deepling warrior", "deepling worker", "deepworm", "defiler", "demon outcast", "demon skeleton", "demon", "destroyer", "devourer", "diabolic imp", "diamond servant", "diremaw", "dragon hatchling", "dragon lord hatchling", "dragon lord", "dragon", "draken abomination", "draken elite", "draken spellweaver", "draken warmaster", "dread intruder", "drillworm", "dwarf geomancer", "dwarf guard", "dwarf henchman", "dwarf soldier", "dwarf", "dworc fleshhunter", "dworc venomsniper", "dworc voodoomaster", "earth elemental", "efreet", "elder bonelord", "elder wyrm", "elephant", "elf arcanist", "elf scout", "elf", "emerald damselfly", "energetic book", "energy elemental", "enfeebled silencer", "enlightened of the cult", "enraged crystal golem", "eternal guardian", "falcon knight", "falcon paladin", "faun", "fire devil", "fire elemental", "firestarter", "forest fury", "fox", "frazzlemaw", "frost dragon hatchling", "frost dragon", "frost flower asura", "fury", "gargoyle", "gazer spectre", "ghastly dragon", "ghost", "ghoul", "giant spider", "gladiator", "gloom wolf", "glooth bandit", "glooth blob", "glooth brigand", "glooth golem", "gnarlhound", "guzzlemaw", "hand of cursed fate", "haunted treeling", "hellhound", "hellflayer", "hellfire fighter", "hellspawn", "hero", "honour guard", "hunter", "hydra", "ice golem", "ice witch", "infernalist", "juggernaut", "killer caiman", "kongra", "lancer beetle", "lamassu", "lich", "lizard chosen", "lizard dragon priest", "lizard high guard", "lizard legionnaire", "lizard sentinel", "lizard snakecharmer", "lizard templar", "lizard zaogun", "lost soul", "lumbering carnivor", "mad scientist", "mammoth", "marid", "marsh stalker", "medusa", "menacing carnivor", "mercury blob", "merlkin", "metal gargoyle", "midnight asura", "minotaur amazon", "minotaur archer", "minotaur cult follower", "minotaur cult prophet", "minotaur cult zealot", "minotaur guard", "minotaur hunter", "minotaur mage", "minotaur", "monk", "mooh'tah warrior", "moohtant", "mummy", "mutated bat", "mutated human", "mutated rat", "mutated tiger", "necromancer", "nightmare scion", "nightmare", "nightstalker", "nomad", "novice of the cult ", "nymph", "omnivora", "orc berserker", "orc leader", "orc rider", "orc shaman", "orc warlord", "orc warrior", "orc", "pirate buccaneer", "pirate corsair", "pirate cutthroat", "pirate ghost", "pirate marauder", "pirate skeleton", "pixie", "plaguesmith", "priestess", "pooka", "ravenous lava lurker", "renegade knight", "retching horror", "ripper spectre", "roaring lion", "rot elemental", "rotworm", "rustheap golem", "scarab", "scorpion", "sea serpent", "serpent spawn", "sibang", "silencer", "skeleton elite warrior", "souleater", "spectre", "spiky carnivor", "stone golem", "stonerefiner", "swamp troll", "tarantula", "terramite", "thornback tortoise", "toad", "tortoise", "twisted pooka", "undead elite gladiator", "undead gladiator", "valkyrie", "vampire bride", "vampire viscount", "vampire", "vexclaw", "vicious squire", "vile grandmaster", "vulcongra", "wailing widow", "war golem", "war wolf", "warlock", "wasp", "water elemental", "weakened frazzlemaw", "werebadger", "werebear", "wereboar", "werefox", "werewolf", "worm priestess", "wolf", "wyrm", "wyvern", "yielothax", "young sea serpent", "zombie", "adult goanna", "black sphinx acolyte", "burning gladiator", "cobra assassin", "cobra scout", "cobra vizier", "crypt warden", "feral sphinx", "lamassu", "manticore", "ogre rowdy", "ogre ruffian", "ogre sage", "priestess of the wild sun", "sphinx", "sun-marked goanna", "young goanna", "cursed prospector", "evil prospector", "flimsy lost soul", "freakish lost soul", "mean lost soul", "a shielded astral glyph", "abyssador", "an astral glyph", "ascending ferumbras", "annihilon", "apocalypse", "apprentice sheng", "arachir the ancient one", "armenius", "azerus", "barbaria", "baron brute", "battlemaster zunzu", "bazir", "big boss trolliver", "bones", "boogey", "bretzecutioner", "brokul", "bruise payne", "brutus bloodbeard", "bullwark", "chizzoron the distorter", "coldheart", "countess sorrow", "deadeye devious", "deathbine", "deathstrike", "demodras", "dharalion", "diblis the fair", "dirtbeard", "diseased bill", "diseased dan", "diseased fred", "doomhowl", "dracola", "dreadwing", "ekatrix", "energized raging mage", "esmeralda", "ethershreck", "evil mastermind", "fatality", "fazzrah", "fernfang", "feroxa", "ferumbras", "flameborn", "fleshcrawler", "fleshslicer", "fluffy", "foreman kneebiter", "freegoiz", "fury of the emperor", "furyosa", "gaz'haragoth", "general murius", "ghazbaran", "glitterscale", "gnomevil", "golgordan", "grand mother foulscale", "groam", "grorlam", "gorgo", "hairman the huge", "haunter", "hellgorak", "hemming", "heoni", "hide", "hirintror", "horadron", "horestis", "incineron", "infernatil", "inky", "jaul", "kerberos", "koshei the deathless", "kraknaknork's demon", "kraknaknork", "kroazur", "latrivan", "lethal lissy", "leviathan", "lisa", "lizard abomination", "lord of the elements", "mad mage", "mad technomancer", "madareth", "man in the cave", "massacre", "mawhawk", "menace", "mephiles", "minishabaal", "monstor", "morgaroth", "morik the gladiator", "mr. punish", "munster", "mutated zalamon", "necropharus", "obujos", "orshabaal", "paiz the pauperizer", "raging mage", "ribstride", "rocko", "ron the ripper", "rottie the rotworm", "rotworm queen", "scarlett etzel", "scorn of the emperor", "shardhead", "sharptooth", "sir valorcrest", "snake god essence", "snake thing", "spider queen", "spite of the emperor", "splasher", "stonecracker", "sulphur scuttler", "tanjis", "terofar", "teleskor", "the abomination", "the axeorcist", "the blightfather", "the bloodtusk", "the bloodweb", "the book of death", "the collector", "the count", "the weakened count", "the dreadorian", "the evil eye", "the frog prince", "the handmaiden", "the horned fox", "the keeper", "the imperor", "the many", "the noxious spawn", "the old widow", "the pale count", "the plasmother", "the snapper", "the distorted astral source", "the astral source", "thul", "tiquandas revenge", "tirecz", "tyrn", "tormentor", "tremorak", "tromphonyte", "ungreez", "ushuriel", "verminor", "versperoth", "warlord ruzad", "white pale", "wrath of the emperor", "xenia", "yaga the crone", "yakchal", "zanakeph", "zavarash", "zevelon duskbringer", "zomba", "zoralurk", "zugurosh", "zushuka", "zulazza the corruptor", "glooth bomb", "bibby bloodbath", "doctor perhaps", "mooh'tah master", "the welter"
);
 

poncex

Miembro
LV
12
 
Awards
5
como se puede hacer para poder comprar desde el shop? como hay que configurar por ejemplo el paypal?
 

Alex

Miembro del equipo
Webdesigner
LV
58
 
Awards
38
como se puede hacer para poder comprar desde el shop? como hay que configurar por ejemplo el paypal?
El PayPal, en config.php debes de agregar tu correo electrónico.
El shop en config.php lo activas enabled=true, configuras los puntos / precio y al entrar en la web podrás comprar.
Para que todo sea automático, debes de entrar en tu cuenta PayPal , opciones, notificaciones , notificaciones instantáneas de pago, y ahí agregar una nueva, que será el IPN.php, por el cual tu dirección web+/ipn.php al final.
 

3zequi3l

Hellgrave Premium
Miembro
LV
12
 
Awards
10
hola, la configuracion para ubuntu 22.04, me da este error al entrar en la pagina

Esta página no funciona​

EL IP:(xx.xxx.xxx.xx) no puede procesar esta solicitud en este momento.


HTTP ERROR 500
 

Alex

Miembro del equipo
Webdesigner
LV
58
 
Awards
38
hola, la configuracion para ubuntu 22.04, me da este error al entrar en la pagina

Esta página no funciona​

EL IP:(xx.xxx.xxx.xx) no puede procesar esta solicitud en este momento.


HTTP ERROR 500
Hola,
No se nada de Ubuntu, pero entiendo que tú ip que pusiste es pública y entonces que no la detecta, no está bien configurada.
 
D

Devl

Invitado
php cURL is not enabled. It is required to for PayPal or captcha services.
1. Find your php.ini file.
2. Uncomment extension=php_curl
Restart web server.
If you don't want this then disable PayPal & use_captcha in config.php.

help me :(
 

Alex

Miembro del equipo
Webdesigner
LV
58
 
Awards
38
php cURL is not enabled. It is required to for PayPal or captcha services.
1. Find your php.ini file.
2. Uncomment extension=php_curl
Restart web server.
If you don't want this then disable PayPal & use_captcha in config.php.

help me :(
Yes, is simple find the file then uncomment “” or — in front of extension = php_curl , save and restart apache.
 

royalpaladin

Miembro
LV
11
 
Awards
9
Bro, cómo puedo hacer para modificar la parte que dice "global server" y poner algun mensaje que yo quiera, estoy usando el layout de tu tutorial de hacer un server online, tambien me gustaría saber cómo puedo modificar las news del server, la información de los rates y eso, saludos de antemano y gracias tambien
 
Arriba