Ir para conteúdo
  • Cadastre-se

(Resolvido)Tutorial Flash Client


Ir para solução Resolvido por Enzo Caue,

Posts Recomendados

Hey guys!

Im looking for some help regarding a problem i cant figure out how to fix.
I want every character to start in Rookgaard, but wierd things happends;
This is what is says in the config.php:

$towns_list = array(
1 => 'Venore', 
2 => 'Thais', 
3 => 'Kazordoon', 
4 => 'Carlin', 
5 => 'Ab\'Dendriel', 
6 => 'Rookgaard', 
7 => 'Liberty Bay', 
8 => 'Port Hope', 
9 => 'Ankrahmun', 
10 => 'Darashia', 
11 => 'Edron', 
12 => 'Svargrond', 
13 => 'Yalahar', 
14 => 'Farmine', 
28 => 'Gray Beach',
29 => 'Roshamuul',
33 => 'Rathleton',
34 => 'Krailos',
51 => 'Dawnport',
52 => 'Feyrist',

So I edited the 
"$config['site']['newchar_towns'] = array(6);"
I've also edited this:
"$config['site']['flash_client_enabled'] = false;"
Which should mean that every character starts in Rookgaard, and there shoudnt be a flash client.

But when I make a character on my server, it starts with the tutorial in the flash client where you have to kill the "Wounded Cave Draptor"
After all that is done, you have to use a rope on a ropespot.
And when thats done, I get to Rookgaard?! 
Does anyone know how to remove the tutorial flash client so every character starts in Rookgaard?

Link para o post
Compartilhar em outros sites
8 minutos atrás, Enzo Caue disse:

First of all, provide more information about the datapack you are using and about this gesior too.

Im using
https://github.com/malucooo/Otxserver-New
https://github.com/malucooo/Gesior-AAC
Anything more you need to know?

Link para o post
Compartilhar em outros sites
  • Solução

Alright, lets check something.

 

go to your html_public folder, then open the login.php and search for tutorial

if says: true, change to false, create another character and try again.

 

in case it's already false, change your login.php for this one.

Editado por Enzo Caue (veja o histórico de edições)
Link para o post
Compartilhar em outros sites
2 hours ago, Enzo Caue said:

Alright, lets check something.

 

go to your html_public folder, then open the login.php and search for tutorial

if it says: true, change to false, create another character and try again.

 

in case it's already false, change your login.php for this one.

 

Where do I find html_public folder?
The only thing with tutorial in my login.php is this:
while ($ dbRet = $ dbResource-> fetch ()) {
    $ dict = array (
        "worldid" => 0,
        "name" => $ dbRet ["name" ],
        "ismale" => (($ dbRet ["sex"] == 1)? true: false),
        "tutorial" => (($ dbRet ["lastlogin"]> 1)? false: true)

If I change it to "false" I get this error when I try to log in:

 

illegal value.png

Editado por firenzie (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

@Enzo Caue Hey! Now it works :D
But i have noticeded some new problems, my character starts with with "no vocation" in main, even when I changed this:

$config['site']['newchar_vocations'] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample'); 
$config['site']['newchar_towns'] = array(1,2, 3, 4, 5, 7, 8, 9, 10, 11);
$config['site']['max_players_per_account'] = 10;

And I also get Survey when I log in, and the survey doesnt exist :p

Thanks alot btw!

Link para o post
Compartilhar em outros sites
8 minutos atrás, firenzie disse:

@Enzo Caue Hey! Now it works :D
But i have noticeded some new problems, my character starts with with "no vocation" in main, even when I changed this:

$config['site']['newchar_vocations'] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample'); 
$config['site']['newchar_towns'] = array(1,2, 3, 4, 5, 7, 8, 9, 10, 11);
$config['site']['max_players_per_account'] = 10;

And I also get Survey when I log in, and the survey doesnt exist :p

Thanks alot btw!

Do you have these sample's in db?

Link para o post
Compartilhar em outros sites

no man they are not, lets check.

go to localhost/phpmyadmin

 

then log in and go to the database you have created, and select the players table.

 

there should be Druid Sample, Sorcerer Sample, Knight Sample, Paladin Sample and Rook Sample.

Link para o post
Compartilhar em outros sites
3 minutos atrás, Enzo Caue disse:

no man they are not, lets check.

go to localhost/phpmyadmin

 

then log in and go to the database you have created, and select the players table.

 

there should be Druid Sample, Sorcerer Sample, Knight Sample, Paladin Sample and Rook Sample.

This is how it looks, which should be right?

samlpes.png

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo