Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Midako

1
RMXP Script Database / Re: [XP] RMX-OS
January 13, 2014, 07:35:20 am
Quote from: firevenge007 on December 31, 2013, 05:12:08 am
Still kind of confused about finding it
Spoiler: ShowHide




This is what I get, but this won't work either when I type it in.


you have the databases:
sakila
test
world

one of them is it, but i don't know which you created for it
2
RMXP Script Database / Re: [XP] RMX-OS
May 30, 2013, 12:35:30 pm
gameus what u want to make with php ?..
maybe i can help u a little...
because i will write later a php script if rmxos 2.0 works stabil ^-^ when the server can run without problems
3
RMXP Script Database / Re: [XP] RMX-OS
May 26, 2013, 04:18:40 pm
my database is also the old one, but it have nothing to do with EXTENDED_THREADING i did test it with true and false, no errors at all, just the one that he send by registration twice the signal.
4
RMXP Script Database / Re: [XP] RMX-OS
May 26, 2013, 03:53:22 pm
exile360 this is true.
but the login issue from gameus, its not normally.
the chat issue is true...
^-^

EDIT: at the first login by the registration, it looks like he think the account logged in twice, so he respond 2 times the message...

5
RMXP Script Database / Re: [XP] RMX-OS
May 26, 2013, 03:46:29 pm
of course, but im not sure if the beta is the same as mine.
i make the tests for Blizz with multiple players.

i get the Files from him. which size have ur server.rb?

mine has 12,6 KB (12.949 Bytes)

EDIT: ur files should be the same as mine...
6
RMXP Script Database / Re: [XP] RMX-OS
May 26, 2013, 02:54:46 pm
he saved my login, but the issue don't happened by me.

i just edit the password but it did'nt worked by me like u write it ^-^

i don't know why the error happend by u...
7
RMXP Script Database / Re: [XP] RMX-OS
May 26, 2013, 02:28:10 pm
gameus, this error don't come by me,
i can login with old accounts and with new accounts without problems,
if i write a wrong password he reponsd with the Username is wrong.
how i see, but it seems like it comes from u not from the system...

reset ur database and try again..

if u want i will help u out by ur problem over skype, karim9312
but i don't have this problem...
8
RMXP Script Database / Re: [XP] RMX-OS Reporting
March 30, 2013, 01:58:13 am
Quote from: Wizered67 on February 16, 2011, 11:22:43 am
RMX-OS Reporting with MySql
Authors: Wizered67
Modified by: Midakox3
Version: 1.01?
Type: Reporting System with MySQL
Key Term: RMX-OS Plugin



Introduction

see First Author


Features


  • Allows players to report other players that break rules.

  • Name does not need to be exact.

  • Server formats reports for you.

  • Can easily be used to report bugs in the game itself also.




Screenshots




Demo

Sorry, no demo.


Script

mysql code: ShowHide

CREATE TABLE IF NOT EXISTS `reports` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `Time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Zeit',
  `Reported_Player` varchar(50) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Spieler der Gemeldet wird',
  `Reporter` varchar(50) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Spieler der Gemeldet hat',
  `Reason` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Grund',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;


.rb add-on: ShowHide
#------------------------------------------------------------------------------
#                  RMX-OS Reporting Players
#                     by Wizered67
#                  Modified by Midakox3
#                          V 1.01?
# All errors should be reported at www.chaos-project.com.
#------------------------------------------------------------------------------
module RMXOS
   
    #------------------------------------------------------------------
    # Passes the extension's main module to RMX-OS on the top
    # level so it can handle this extension.
    # Returns: Module of this extension for update.
    #------------------------------------------------------------------
    def self.load_current_extension
        return ReportPlayers
    end

end

#======================================================================
# module ReportPlayers
#======================================================================

module ReportPlayers
   
    # extension version
    VERSION = 1.01
    # required RMX-OS version
    RMXOS_VERSION = 1.18
    # whether the server should update this extension in an idividual thread or not
    SERVER_THREAD = true
   
    #------------------------------------------------------------------
    # Initializes the extension
    #------------------------------------------------------------------
    def self.initialize
    end
    #------------------------------------------------------------------
    # Calls constant updating on the server.
    #------------------------------------------------------------------
    def self.main
        # while server is running
        while RMXOS.server.running
            self.server_update
            sleep(0.1)
        end
    end
    #------------------------------------------------------------------
    # Handles the server update.
    #------------------------------------------------------------------
    def self.server_update
  end
    #------------------------------------------------------------------
    # Handles updating from a client.
    # client - Client instance (from Client.rb)
    # Returns: Whether to stop check the message or not.
    #------------------------------------------------------------------
    def self.client_update(client)
        case client.message
  when /\ARPL(.+)\t(.+)/
  player_reported = $1
  reason = $2
  reporter = client.player.username
  time = Time.now.getutc.to_s
  con = Mysql.new 'host', 'dbuser', 'dbpassword', 'rmxosdb'
  con.query("INSERT INTO reports(Time, Reported_Player, Reporter, Reason) VALUES ('" + time + "', '" + player_reported + "','" + reporter + "', '" + reason + "')")
  client.send("CHT#{RMXOS::Data::ColorInfo}\t0\tPlayer was reported.")
  return true
        end
    return false
   
    end
 
 

end



Instructions

Its MySql Based now


Compatibility

Requires RMX-OS.



Credits and Thanks


  • Wizered67

  • Blizzard for making RMX-OS and since Wizered67 borrowed a lot from his User Logger script.

  • Midakox3 for Modifing




Author's Notes
If you ask why MySQL its because i work on a Website for RMX-OS Script maybe there will be someday one Public with some Function ^-^
Enjoy and report any bugs here. Remember to use the extension!
9
He don't write in the users.log file.
onlinelist works fine. only users.log not.
:S
Extension is in cfg.ini
Users are showen in the Command Box
but no Loggs will created or writed.
maybe someone know how to fix it ?
10
RMXP Script Database / Re: [XP] Blizz-ABS
February 24, 2013, 07:40:15 am
Hello KK20 maybe u can help me.

i do use Blizz-ABS with RMX-OS
but when i do logout he don't send any position to the Server so there is just a database entry with 0,0 for the x,y position.

i did test it without Blizz-ABS no problem he do send my position to the server.
but with Blizz-ABS it don't work :S

maybe u can help me ?

with Regrads
Midako