[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/prime_links.php on line 121: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/prime_links.php on line 122: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4712: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4714: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4715: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4716: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
GM-like power script | JoinUO Forums

GM-like power script

The UO "Demo" is a slightly modified OSI UO Server and Client which was bundled on the Ultima Online Second Age retail CD. This forum seeks to reveal it's mysteries.

Site Admin
Posts: 372
Joined: Wed Apr 08, 2009 6:35 am
PostPosted: Thu Sep 09, 2010 11:06 pm
I've created a script to give you some god-like powers, the script is limited but it's a good start.

Commands supported

Version 1.0
[tele, [teleport - teleports you to a location, you can optionally provide a X, Y and/or Z
[where - gives your location
[getserial - gets the serial id/number of a mobile or object
[getelevation - gets the raw and averaged elevation of a tile
[getheight - gets the height of a mobile or object (mobiles have a fixed height of 16 anyways)
[gethue - gets the hue of a mobile or object
[sethue X - sets the hue of a mobile or object where X is the required hue number
[spawn X - spawns a NPC at the targetted location, X is a NPC number (refer to templatestable.dat.q)
[test canseeloc - test if you can see a targetted location
[test canseeobj - test if you can see a targetted object

Installation

1) You must be running the demo using atleast method 3 as described here : .
2) Download the attached ZIP-file
3) Extract the 3 files and place them in the rundir/scripts directory, overwriting sdb.txt.q
NOTE: this will break any others scripts that you created yourself due to the shared SDB
4) Add "gmcheat" to the loginscr.txt (reference=)
5) Test and enjoy the power
Attachments
GM cheat (1.0).zip
(61.67 KiB) Downloaded 344 times
<Derrick> RunUO AI is kind of a functional prototype, which i have hacked into something resembling OSI behavior, but only by complitcating everything

Posts: 18
Joined: Tue Sep 07, 2010 1:57 pm
PostPosted: Thu Sep 09, 2010 11:14 pm
Great job! Thanks for this!

Works great for the functions I've used!

//Van

Posts: 18
Joined: Tue Sep 07, 2010 1:57 pm
PostPosted: Mon Sep 13, 2010 11:30 am
Commands supported

Version 1.1
[listskills - shows a list of skills and their indices
[setskill X Y - sets skills with index X to a value of Y (0-100)
[setskill all Y - sets all skills to a value of Y (0-100)
[spawnitem X - spawns an item of type X, refer to ItemIDList.log in attached zip for list of items and id numbers



Version 1.0
[tele, [teleport - teleports you to a location, you can optionally provide a X, Y and/or Z
[where - gives your location
[getserial - gets the serial id/number of a mobile or object
[getelevation - gets the raw and averaged elevation of a tile
[getheight - gets the height of a mobile or object (mobiles have a fixed height of 16 anyways)
[gethue - gets the hue of a mobile or object
[sethue X - sets the hue of a mobile or object where X is the required hue number
[spawn X - spawns a NPC at the targetted location, X is a NPC number (refer to templatestable.dat.q)
[test canseeloc - test if you can see a targetted location
[test canseeobj - test if you can see a targetted object


Installation

1) You must be running the demo using atleast method 3 as described here : viewtopic.php?f=32&t=327.
2) Download the attached ZIP-file
3) Extract the 3 files and place them in the rundir/scripts directory, overwriting sdb.txt.q
NOTE: this will break any others scripts that you created yourself due to the shared SDB
NOTE: gmcheat.m.C is not included in v1.1
4) Add "gmcheat" to the loginscr.txt (reference=http://forum.joinuo.com/viewtopic.php?f=32&t=545)
5) Test and enjoy the power
Attachments
GM cheat (1.1).zip
(111.9 KiB) Downloaded 334 times

Site Admin
Posts: 455
Joined: Tue Jun 17, 2008 2:33 pm
PostPosted: Tue Sep 14, 2010 1:30 pm
This is just awesome. I don't know what to say.

Posts: 18
Joined: Tue Sep 07, 2010 1:57 pm
PostPosted: Tue Sep 14, 2010 7:14 pm
I think you just said it ;)

Posts: 17
Joined: Thu Apr 23, 2009 1:27 am
PostPosted: Mon Oct 18, 2010 4:15 am
Just a small heads up if it hasn't already been discussed. After writing my own similar hacking script (mostly for the experience), I've discovered something rather cool. When you use the [spawn command, if you put a template ID that's NOT an NPC, it will still spawn the given template. This means we can create our own items by placing the items into the templates file (and using an item that doesn't have a script in the scripts folder), and we can easily gain access to other items in game that would normally be unavailable (house deeds, etc).

Posts: 18
Joined: Tue Sep 07, 2010 1:57 pm
PostPosted: Mon Oct 18, 2010 6:43 am
That's really cool! Thanks for the heads up!

Return to UO Demo

Who is online

Users browsing this forum: No registered users and 13 guests