[XP] Blizz-ABS Controller for RMX-OS

Started by Blizzard, January 17, 2010, 05:02:36 pm

Previous topic - Next topic

Blizzard

The new CFG does not have the value "DATABASE_CONNECTION_TIMEOUT", that's how I know that you are using a modified CFG file. Please check that again.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

KnightPL

June 20, 2013, 01:28:16 pm #361 Last Edit: June 20, 2013, 01:38:26 pm by KnightPL
Ach RMX-OS GUI have a bug. When I type an extension or something else in this tab, cfg.ini is changed

Before
Spoiler: ShowHide
NAME = ''
HOST = '127.0.0.1'
PORT = 54269
GAME_VERSION = 1.0

DEBUG_MODE = false
LOG_MESSAGES = false
LOG_ERRORS = true
LOG_ACTIONS = true

MAXIMUM_CONNECTIONS = 50
LOGIN_TIMEOUT = 120
AUTO_RESTART = true
RESTART_TIME = 5
USE_IP_BANNING = true
RUBY_PROMPT = false
EXTENDED_THREADING = true
OPTIMIZE_DATABASE_ON_STARTUP = false

SQL_HOSTNAME = '127.0.0.1'
SQL_USERNAME = 'root'
SQL_PASSWORD = 'root'
SQL_DATABASE = 'rmxosdb'

INBOX_SIZE = 20

EXTENSIONS = [
]


after
Spoiler: ShowHide
NAME = 'localhost'
HOST = '127.0.0.1'
PORT = 54269
RMXOS_VERSION = (here I changed RMXOS_VERSION to GAME_VERSION = 1.0, because this cfg normal not working)

LOG_MESSAGES = false
LOG_ERRORS = true
LOG_ACTIONS = true

DEBUG_MODE = false

MAXIMUM_CONNECTIONS = 50
LOGIN_TIMEOUT = 120
AUTO_RESTART = true
RESTART_TIME = 5
USE_IP_BANNING = true
PREVENT_ZOMBIE_CLIENTS =
RUBY_PROMPT = false
OPTIMIZE_DATABASE_ON_STARTUP = false
DATABASE_CONNECTION_TIMEOUT =

SQL_HOSTNAME = '127.0.0.1'
SQL_USERNAME = 'joomla'
SQL_PASSWORD = 'joomla'
SQL_DATABASE = 'rmxosdb'

INBOX_SIZE = 20

EXTENSIONS = [
'controller.rb'
]


Can you correct bug?   :)


EDIT: I fixed cfg.ini and game working

Zexion

That's because the gui is not for the new rmxos 2.0 it was for the old versions

Ryex

the gui was designed with older versions of RMX-OS and I have not had a chance to update it close to 3 years. do not use it.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

MikyGonzalez

I have a problem, a error logs is generated with this:
2013-08-10 00:12:20 UTC; #<Client:0xc64350> - Error:
Warning: Incoming message not handled: ABSMEE 1 {"@real_x"=>3712, "@ai|@negative"=>[1, 3, 5, 6], "@x"=>29, "@real_y"=>3456, "@y"=>27, "@battler|@states"=>[], "@ai|@view_range"=>5, "@character_name"=>"087-Monster01", "@battler|@sp"=>419, "@ai|@positive"=>[2], "@ai|@neutral"=>[0], "@battler|@enemy_id"=>1, "@battler|@hp"=>540, "@ai|@altered_alignment"=>false, "@move_speed"=>3, "@battler|@state_time"=>{}, "@ai|@hearing_range_ratio"=>40, "@direction"=>2, "@pattern"=>0, "@ai|@aggressive"=>true, "@battler|@states_turn"=>{}, "@battler|@immortal"=>false}
2013-08-10 00:12:21 UTC; #<Client:0xc64350> - Error:
Warning: Incoming message not handled: ABSMEE 1 {"@ai|@negative"=>[1, 3, 5, 6], "@real_x"=>3712, "@real_y"=>3456, "@x"=>29, "@y"=>27, "@ai|@view_range"=>5, "@battler|@states"=>[], "@battler|@enemy_id"=>1, "@ai|@neutral"=>[0], "@ai|@positive"=>[2], "@battler|@sp"=>419, "@character_name"=>"087-Monster01", "@ai|@altered_alignment"=>false, "@battler|@hp"=>540, "@ai|@hearing_range_ratio"=>40, "@battler|@state_time"=>{}, "@move_speed"=>3, "@ai|@aggressive"=>true, "@pattern"=>0, "@direction"=>2, "@battler|@immortal"=>false, "@battler|@states_turn"=>{}}
2013-08-10 00:12:21 UTC; #<Client:0xc64350> - Error:
Warning: Incoming message not handled: ABSMEE 1 {"@direction"=>4}
2013-08-10 00:12:21 UTC; #<Client:0xc64350> - Error:
Warning: Incoming message not handled: ABSMEE 1 {"@real_x"=>3720, "@x"=>30}
.......


Why?, How i can fix this?

MikyGonzalez

Other error, sorry by the double post. I'm fighting with various enemys, and:
Client 14 (Pepino) at 2013-08-10 03:36:59 UTC has caused an error:
undefined method `get_exchange_variables´ for nil:NilClass
./Extensions/BlitzABS.rb:136:in `client_update´
src/Client1.rb:235:in `block <2 levels> in handle´
src/Client1.rb:234:in `synchronize´
src/Client1.rb:234:in `block in handle´
src/Client1.rb:233:in `each_value´
src/Client1.rb:233:in `handle´
src/Server.rb:248:in `block <2 levels> in run´
src/Server.rb:241:in `each´
src/Server.rb:241:in `block in run´
2013-08-10 03:36:59 UTC: Client 'Pepino' has disconnected.


I have RMX-OS version 2.0 and Blizz Controller 2.0.

Blizzard

Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

MikyGonzalez


Blizzard

I don't really understand why nobody else reported the errors so far. They should be fixed v2.01.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

MikyGonzalez

the problem was solved, thanks. But the artificial intelligence of the enemies now lags behind, as if the character's coordinates were delayed ... :S

Blizzard

Because the game logic isn't server centered, but processed by a globally assigned client, this is unfortunately the only way. It's a design choice that makes RMX-OS much easier to use.
Fast connections with a low ping should be able to reduce that to just a few frames, though, and then it should be barely noticeable.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

MikyGonzalez

I understand, I read the manual, but says that connections are assigned randomly. Because randomly assigning processing?, It would be better to assign processing depending on the connection that has the customer?. Thanks for the help

Blizzard

It is assigned randomly, that is true, but it does reassign another client if their connection is bad. In fact, it reassigns another client if the current client didn't respond in a certain amount of seconds. The amount is defined in the server extension as GMASTER_TIMEOUT and is 5 seconds by default. Feel free to change it and see how it affects your game.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

MikyGonzalez

Thanks for the help. Imagine that I'm against a strong monster, and at that time the current client processes the battle does not respond for 3 seconds. In those three seconds, what would happen?, Could even die if I do not respond in time, or as is the processing can attack and not receive information from my move and kill ... you understand me?

Blizzard

Hahaha, I know, I know. But fact is lag happens even in WoW which has millions of players and maybe even a few thousand at a time on a single server (I'm pulling this information out of my ass, I don't know how many players play on one server). Point is that network lag cannot be avoided.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

MikyGonzalez


Zexion

You could fix it by making battles server sided like runescape. When you lag on runescape the battle continues, your ownly disadvantage is that you can't move :P

Blizzard

It would be an improvement, but not a fix. But that improvement would required that the entire game logic and AI is moved to the server.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

MikyGonzalez

I've been testing the system on the Internet with some friends and when there is only one connected goes well, as there is more than one client connected to the time the game is slow, the enemies are slow, not updated while the movement, does strange things ... My connection was 10Mbps upstream, and downstream of them is optical fiber, so I doubt it's for our internet. This should be addressed in some way, is unplayable.

Characteristic of the PC-Server:
Intel i7 - 8GB RAM - Ethernet of 1GB of band

Blizzard

If your connection is broadband, but the connection of the players isn't, it's not gonna help.
I guess RMXP really isn't suited for online games.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.