Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 02-12-2006, 07:56 AM   #1 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 82
Send a message via MSN to Willie25
Post Good or the Evil side?

My First Script

-_- Special thanks to -_-

Irian
Daat99
Storm Half edited his script

-_- Discription -_-

I think Uo gets more bored no more adventure!
I think that's bad!
That's why I made this script to get more adventure.
This script makes a Player able to choose the Side he wants to fight for.
The Good or the Evil.
When the player Joins a Side he will get a robe of that side, and a Rank.
The Evil siders must Eleminate the Good siders and the other way around.
When a Good/Evil player kills a member of the opposit kingdom he get points.
When he got the enough points collected he will gain a rank.
(Good/Evil both got diffrent Ranks)
Remember : Staff Members Cannot Join a Side! (This will make the server Crash).

-_- Files -_-

CharacterCreation.cs
Kingdom Stone.cs
Kingdom.cs
KingdomMember.cs
MyMobile.cs
Notoriety.cs

-_- Warnings / Errors / Crashes -_-

Server Crashes when Staff members choose need help on this!
Attached Files
File Type: zip Kingdoms.zip (13.9 KB, 187 views)

Last edited by Willie25; 02-21-2006 at 12:05 PM.
Willie25 is offline  
Old 02-12-2006, 08:07 AM   #2 (permalink)
Forum Novice
 
Join Date: May 2005
Age: 29
Posts: 950
Default

Quote:
Originally Posted by Willie25
My First Script
Remember : Staff Members Cannot Join a Side! (This will make the server Crash).
Then you have your next task: Prevent the crashing :-)
Irian is offline  
Old 02-12-2006, 10:47 AM   #3 (permalink)
Forum Expert
 
Join Date: May 2005
Location: United Kingdom
Age: 17
Posts: 255
Send a message via MSN to Swerve_jnr
Default

wow school script, and it's your first one?!?!?!?! wow!
Swerve_jnr is offline  
Old 02-12-2006, 01:31 PM   #4 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 82
Send a message via MSN to Willie25
Default lol

Quote:
Originally Posted by Irian
Then you have your next task: Prevent the crashing :-)
Well.. Not planning to do that This all ready took me 2/3 months

Quote:
Originally Posted by swerve_jnr
wow school script, and it's your first on?!?!?!?! wow!
Ghe ghe.. took me a while too

--------------------

thanks for the replies
Willie25 is offline  
Old 02-12-2006, 01:56 PM   #5 (permalink)
Forum Novice
 
Join Date: May 2005
Age: 29
Posts: 950
Default

What about...

Code:
if (from.AccessLevel > AccessLevel.Player) 
{
from.Message("Staff members can't join a kingdom.");
return; 
}
in KingdomStone.OnDoubleClick(...) ? :-)
Irian is offline  
Old 02-12-2006, 01:57 PM   #6 (permalink)
 
Join Date: Oct 2005
Posts: 169
Default

If you let Staff members join a side, then perhaps I'll use it.

Thanks.
Ajantis is offline  
Old 02-12-2006, 02:22 PM   #7 (permalink)
Forum Expert
 
Pyro-Tech's Avatar
 
Join Date: Oct 2003
Location: Carbondale, IL
Age: 24
Posts: 1,805
Send a message via MSN to Pyro-Tech
Default

Is this a modified version of the DXKingdom's that storm33229 did??

DX Kingdoms 1.1.3

if it is, shouldn't some credit be given to him? i haven't looked inside the files, but i know the names are exact in both of your things so...

i use storm's and it is nice....his is for four groups so....
__________________

Pyro-Tech is offline  
Old 02-12-2006, 03:33 PM   #8 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 82
Send a message via MSN to Willie25
Default Uh..? :S

Didn't I wrote that I half edited this?
Willie25 is offline  
Old 02-13-2006, 12:44 AM   #9 (permalink)
Forum Expert
 
Pyro-Tech's Avatar
 
Join Date: Oct 2003
Location: Carbondale, IL
Age: 24
Posts: 1,805
Send a message via MSN to Pyro-Tech
Default

hehe either yes and i didn't see the small print, or no and you edited after i said it...your edit time on the first post was after my post time so....

either way....i was just curious if it was mainly.
__________________

Pyro-Tech is offline  
Old 02-13-2006, 12:59 PM   #10 (permalink)
Forum Expert
 
Join Date: Jul 2005
Age: 31
Posts: 410
Default Too bad about staff members crashing

if staff could use this system i'd be willing to try it also......please let us know if you figure out the staff crashing troubles.
wulf monat is offline  
Old 02-15-2006, 11:39 AM   #11 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 82
Send a message via MSN to Willie25
Default Okey, Okey..

Okey ill try to figer it out
Willie25 is offline  
Old 02-15-2006, 12:48 PM   #12 (permalink)
 
Join Date: Oct 2005
Posts: 169
Default

Look foward to staff being able to use it. Thanks.
Ajantis is offline  
Old 02-16-2006, 12:23 PM   #13 (permalink)
Forum Newbie
 
Join Date: Jan 2005
Location: canada eh
Age: 19
Posts: 58
Send a message via MSN to stevend
Default

i made one of these a while back, i use it on my shard Morbid Visions. Cept mine is Chaos or Order. Chaos yu can choose a race, demon or lizard man, and order means your human...Mine has a point system and gump showing wich side is in the lead by deaths..most deaths means other team is winning...

starts on new char creation so you have to pick one...

but this sounds cool...good work...
__________________

http://morbid.0web.uni.cc


Custom Maps. Whole new idea, totaly diffrent from OSI. Custom Tourneys, Items, Arties, Systems, Races, Everything. looking for Playerbase...
stevend is offline  
Old 02-17-2006, 11:42 AM   #14 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 82
Send a message via MSN to Willie25
Default reply

Thanks for the replie

Nice what you builded too!

I'm working on the staff crashing
Willie25 is offline  
Old 02-19-2006, 10:37 PM   #15 (permalink)
 
Join Date: Jan 2006
Posts: 9
Default glitch

here's a funny. Tested this script on my shard. staff joining the stone doesnt make the shard crash, but as soon as a character signs up for good or evil, everybody else on the shard is orange to them, regardless if they have signed up or not, including young players.....
Apathos is offline  
Old 02-19-2006, 11:25 PM   #16 (permalink)
Silverblade runs me
 
Join Date: Nov 2003
Location: Dallas,tx
Age: 33
Posts: 55
Send a message via ICQ to Rockrat Send a message via AIM to Rockrat
Default

heres the crash log ive recieved when staff try maybe someone can help him out here

Code:
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.Items.KingdomStone.OnDoubleClick(Mobile from)
   at Server.Mobile.Use(Item item)
   at Server.Network.PacketHandlers.UseReq(NetState state, PacketReader pvSrc)
   at Server.Network.MessagePump.HandleReceive(NetState ns)
   at Server.Network.MessagePump.Slice()
   at Server.Core.Main(String[] args)
Rockrat is offline  
Old 02-20-2006, 11:29 AM   #17 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 82
Send a message via MSN to Willie25
Default

Uhm.. you setted in [props the thing that it is Active/Inactive and Evil/Good ?
Willie25 is offline  
Old 02-20-2006, 12:39 PM   #18 (permalink)
Silverblade runs me
 
Join Date: Nov 2003
Location: Dallas,tx
Age: 33
Posts: 55
Send a message via ICQ to Rockrat Send a message via AIM to Rockrat
Default

yes......thats what i get when staff run and join
Rockrat is offline  
Old 02-21-2006, 12:03 PM   #19 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 82
Send a message via MSN to Willie25
Default Well...

LoL I said in my post staff can'tjoin..
And I also said that I'm working on it..
But!.. I need help!
Somebody?
Willie25 is offline  
Old 02-21-2006, 04:50 PM   #20 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
Default

Quote:
Originally Posted by Willie25
LoL I said in my post staff can'tjoin..
And I also said that I'm working on it..
But!.. I need help!
Somebody?
My question is why CANT staff join, afterall they ARE still just players. I haven't downloaded this script (or scripts) and pobably won't cause it's not something I'll probably use. But what code is preventing staff from being on a side? In my coding experience you actually have to add in the restriction to not allow staff.
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline  
Old 02-22-2006, 12:06 AM   #21 (permalink)
 
Join Date: Oct 2005
Posts: 169
Default

If you make it so staff can use it then I might use it. Fix it now please. Thanks.
Ajantis is offline  
Old 02-22-2006, 02:35 AM   #22 (permalink)
 
Join Date: Jan 2006
Posts: 9
Default

staff can already use it, I think the problem your running into is that as this modifies the character creation script, any characters made before this script is introduced will crash the shard. Ive added GM and admin characters to the stone with no problems at all...except of course highlighting to everybody on the shard.
Apathos is offline  
Old 02-24-2006, 11:00 AM   #23 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 82
Send a message via MSN to Willie25
Default too bad

Can you help me? Don't get out of it.. and got some probs with my own server after some changes in my pc..
Willie25 is offline  
Old 02-25-2006, 04:40 PM   #24 (permalink)
 
Join Date: Oct 2005
Posts: 169
Default

Quote:
staff can already use it, I think the problem your running into is that as this modifies the character creation script, any characters made before this script is introduced will crash the shard. Ive added GM and admin characters to the stone with no problems at all...except of course highlighting to everybody on the shard.
Well fix it then, that is if you (or the creator) wants me to use it. I dont think im the only one who wants it fixed before using it.
Ajantis is offline  
Old 03-01-2006, 12:44 AM   #25 (permalink)
 
Join Date: Jan 2006
Posts: 9
Default

Quote:
Originally Posted by Ajantis
Well fix it then, that is if you (or the creator) wants me to use it. I dont think im the only one who wants it fixed before using it.
LOL. I couldnt care less if you want to use it or not, I was just pointing out what was causing some of the misinformation. I had nothing to do with making this script.
Apathos is offline  
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5