[Development] Continue OZ-Network project!
Hi,Im continue oz-network project!
I search few man to fix the server!
I already resolved this problem:
-Shop enter/leave
-Inventory enter/leave
-Title(50% - Im recoding from 0,take new title already fix!)
Screen of title fix! :sleep:
http://i.imgur.com/OKhLpZN.png
[EDIT]
Server with some other fix!
Fix :
-Inventory enter/leave with no crash!
-Shop enter/leave with no crash!
-Title in development! Already get but don't save(I do this in 2 day or 4)
-Room remove(not 100%)
-Room time(I set 30 second to test,It was a oversight)
-Tutorial mode removed from lobby!(Because don't work)
DOWNLOAD:
Server + source fixed : http://spider96.altervista.org/FixedOZ-network.rar
If you have problem with client use this! https://drive.google.com/file/d/0B2M...NEk/view?pli=1
Re: [DEV] Continue OZ-Network project!
hey you will release source fixed?
Log in to client etc?
can help
Re: [DEV] Continue OZ-Network project!
I load on internet and public! Wait 30 minutes or less!
Re: [DEV] Continue OZ-Network project!
See the post,I have edit!
Re: [DEV] Continue OZ-Network project!
thankyou man
- - - Updated - - -
i'm using your source fix
you understand why account can't log in to client man?
http://i.imgur.com/4rKFA09.png
Re: [DEV] Continue OZ-Network project!
Quote:
Originally Posted by
yomega
I will fix shop and add items and i will share it
Re: [DEV] Continue OZ-Network project!
I don't know :/ .. uhm..client ip edited?
- - - Updated - - -
What man?
Re: [DEV] Continue OZ-Network project!
Quote:
Originally Posted by
yomega
I don't know :/ .. uhm..client ip edited?
- - - Updated - - -
What man?
item's shop i will add
there is the same error on leave room during match
Re: [DEV] Continue OZ-Network project!
YES I Edited all ip can't log in client
Re: [DEV] Continue OZ-Network project!
Quote:
Originally Posted by
pan03
Same problem here. fix?
Re: [DEV] Continue OZ-Network project!
Quote:
Originally Posted by
Nyl Felipe
Same problem here. fix?
The unique problem I see is the server don't receive connection! Problem with ip probabily!
Re: [DEV] Continue OZ-Network project!
Re-implement the account system, especially the thing that keeps loading the tables in the memory, it's very inefficient.
Re: [DEV] Continue OZ-Network project!
now log in ok one account
when other friend log in client for pvp 1x1 get this error Auth stop WORK
http://i.imgur.com/WiWxKj5.png
Re: [DEV] Continue OZ-Network project!
pvp 1 vs 1 always waiting for game
why ? :o
Re: [DEV] Continue OZ-Network project!
Can you Fix the AccountCreate for this server like this, please ? Thank's in advance :w00t:
Code:
public bool CreateAccount(string login, string password)
{
try
{
using (MySqlConnection mySqlConnection = SQLjec.getInstance().conn())
{
MySqlCommand command = mySqlConnection.CreateCommand();
mySqlConnection.Open();
command.CommandText = "SELECT COUNT(*) FROM accounts WHERE login='" + login + "';";
command.ExecuteScalar();
command.CommandText = "INSERT INTO accounts (login, password, weapon_primary, weapon_secondary, weapon_melee, weapon_thrown_normal, weapon_thrown_special, char_red, char_blue, char_helmet, char_dino) VALUES ('" + login + "', '" + password + "', '100003004', '601002003', '702001001', '803007001', '904007002', '1001001005', '1001002006', '1102003001', '1006003042');";
command.CommandType = CommandType.Text;
command.ExecuteNonQuery();
command.CommandText = "SELECT * FROM accounts WHERE login='" + login + "';";
command.CommandType = CommandType.Text;
MySqlDataReader mySqlDataReader = command.ExecuteReader();
Account acc = new Account();
while (mySqlDataReader.Read())
acc.player_id = mySqlDataReader.GetInt32("player_id");
acc.name = login;
acc.password = password;
acc.weapon_primary = 100003004;
acc.weapon_secondary = 601002003;
acc.weapon_melee = 702001001;
acc.weapon_thrown_normal = 803007001;
acc.weapon_thrown_special = 904007002;
acc.char_red = 1001001005;
acc.char_blue = 1001002006;
acc.char_helmet = 1102003001;
acc.char_dino = 1006003042;
acc.setInventory(new PlayerInventory(acc.player_id));
this.AddAccount(acc);
return true;
}
}
catch (Exception ex)
{
CLogger.getInstance().error("|[ACM]| Não foi possível ver a conta '" + login + "'");
CLogger.getInstance().error("|[ACM]| " + ((object)ex).ToString());
return false;
}
}