I'm new and would like to completley change commands and every thing

Forum where anything UOX3-related goes - including, but not limited to: newbie-support, ideas, general questions, comments, etc and-so-forth.
Post Reply
chief
UOX3 Newbie
Posts: 12
Joined: Sun Oct 23, 2005 8:18 pm
Has thanked: 0
Been thanked: 0

I'm new and would like to completley change commands and every thing

Post by chief »

hi I'm new and i would like to change the commands to the commands in runuo because I'm better acustomed to them is that possible
chief
UOX3 Newbie
Posts: 12
Joined: Sun Oct 23, 2005 8:18 pm
Has thanked: 0
Been thanked: 0

Post by chief »

sorry for the earlier post its in wrong collum but also how do i configure it to run on a dsl modem with a router that has 3 computers on it
i don't have a lot of computer know how i don't realy want to mess with the router and get introuble for messing it up so how would i do that i have a no ip address and i know the exzact ip of it i know the local and the loop back i also know what i think to be as the dns wich i am going to try right now well any ideas
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

You can rename or change any of the commands listed in the UOX3\JS\COMMANDS\ folder. Just open any of the .js files in a text-editor (like notepad/wordpad/any of the free text editors recommended in this thread), and change the name of the command in both the CommandRegistration function and the name of the command-function itself.

Example, in cleanup.js you see:

Code: Select all

function CommandRegistration()
{
	RegisterCommand( "[color=yellow]cleanup[/color]", 2, true );
}

function command_[color=yellow]CLEANUP[/color]( socket, cmdString )
{
etc.
Change both instances of "cleanup" to whatever you want the command to be called. Note that in this example the cleanup command is a command which cleans up old corpses.

If your router uses NAT-routing, you HAVE to mess a little with the router to get UOX3 (or any other UO server emulator) working with your internet IP. You'll have to forward connections to port 2593 to the internal LAN ip of your server computer, and to do that you'll have to login to the router itself somehow. Unfortunately the method of doing so varies from router to router, so you might need assistance from someone who knows how your router is set up.
-= Ho Eyo He Hum =-
Post Reply