Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 09-09-2004, 09:06 PM   #1 (permalink)
Forum Novice
 
Join Date: Jun 2004
Location: Texas
Age: 19
Posts: 206
Talking Fool Proof Race Gump.

mmmk.... I was working on Gd13's Race Stone.... and now that i am slowly getting better and better at reading asnd writing in this language i realize that the stone i was working on was not expandable at alll.... So I decided to write a script all on my own that way no one can complain its "stolen its stolen, and i can write my own scripts so i'll just complain!" sooo here you go... not gonna mention any names.... but georox and bzk90 please nothing nice to say dont speak....



Files....
this is not a stone most people get irritated in the fact that you have to make a seperate place for players to start and what not..... soooo I decided to make it jump up on new character creation... It includes (totally expandable and changeable you guys have full writes to mod all you want) 6 races... (Orc, elf, Drow, Dragoon, Halfling, and of course dwarven.) Ive made it easy to see the areas that are Mod-able and I left The skill bonus and stat bonus Code in there if you wish to add Skills With the Race Along with a way to add certain Items... And the teleport command to send them where you wish.


Installation and Correct Setup.
STEP 1.
First Off go into Scripts.Misc.CharCreation.cs
Open this file.
On the taskbar click Edit.
at the very bottom it says Goto, Type in 504, press enter....
Make sure that there are no "//" in front of this line.
STEP 2.
Open Scripts.Misc.WelcomeTimer.cs
On the taskbar click Edit.
at the very bottom it says Goto, Type in 36, press enter....
Replace: protected override void OnTick()
{
if ( m_State < m_Count )
m_Mobile.SendMessage( 0x35, m_Messages[m_State++] );
}

With this file: protected override void OnTick()
{
if ( m_State < m_Count )
m_Mobile.SendMessage( 0x35, m_Messages[m_State++] );

if ( m_State == m_Count )
{
m_Mobile.SendGump(new RaceChoiceGump() );
Stop();
}

__________________________________________________ _______________Step 3.
Download this file and add it to you Scipts.Customs folder, if you dont have one I suggest making one...


And that is it.... Any and all feed back is very welcome!
Attached Files
File Type: cs RaceGumpPage1.cs (4.8 KB, 115 views)
atticus589 is offline   Reply With Quote
Old 09-09-2004, 09:28 PM   #2 (permalink)
 
Join Date: Jul 2004
Age: 32
Posts: 29
Send a message via ICQ to Big Bob Send a message via AIM to Big Bob
Default

Nice little race gump.
Big Bob is offline   Reply With Quote
Old 09-09-2004, 09:35 PM   #3 (permalink)
Forum Expert
 
TheOutkastDev's Avatar
 
Join Date: Sep 2002
Location: Houston, Texas
Age: 22
Posts: 3,933
Default

It would be better to hook the login event. This would require no distro scripts to be edited.
TheOutkastDev is offline   Reply With Quote
Old 09-09-2004, 09:48 PM   #4 (permalink)
Master of the Internet
 
bzk90's Avatar
 
Join Date: Jun 2003
Location: Nevada
Age: 18
Posts: 6,630
Send a message via AIM to bzk90 Send a message via MSN to bzk90 Send a message via Yahoo to bzk90
Default

nice script i might use myself, and only reason u got flamed last time was cus u didndt realy change all that much of the stone it was like me taking a blade of insanity and collaing it sword of insaneness and calling it my own script, but this one i like good job
bzk90 is offline   Reply With Quote
Old 09-09-2004, 11:00 PM   #5 (permalink)
Forum Novice
 
Join Date: Jun 2004
Location: Texas
Age: 19
Posts: 206
Talking THanks!

Thanks for input....
atticus589 is offline   Reply With Quote
Old 09-10-2004, 01:03 AM   #6 (permalink)
chrisjones
Guest
 
Posts: n/a
Default Dont work?

Says cant find racechoicegump
  Reply With Quote
Old 09-10-2004, 01:18 PM   #7 (permalink)
Forum Novice
 
Join Date: Jun 2004
Location: Texas
Age: 19
Posts: 206
Thumbs up Did you?

did you download the racegump and put it in customs folder? if so make sure that the "racegumpselection" thing is capitalized.... "RaceGumpSelection"
atticus589 is offline   Reply With Quote
Old 09-10-2004, 02:06 PM   #8 (permalink)
Forum Expert
 
DraconisDesBois's Avatar
 
Join Date: Oct 2003
Location: California
Age: 27
Posts: 284
Send a message via ICQ to DraconisDesBois Send a message via AIM to DraconisDesBois Send a message via Yahoo to DraconisDesBois
Default Ty

Very well done, thanks!
__________________
Sonoma Veteran zDARIALz
1998 - 2006

DraconisDesBois is offline   Reply With Quote
Old 09-10-2004, 05:32 PM   #9 (permalink)
Forum Novice
 
Join Date: Jun 2004
Location: Texas
Age: 19
Posts: 206
Smile Post

Please post the file where you get this error....
atticus589 is offline   Reply With Quote
Old 09-10-2004, 09:17 PM   #10 (permalink)
Newbie
 
Join Date: Apr 2004
Location: Alabama
Age: 19
Posts: 91
Send a message via ICQ to weaselboy246 Send a message via AIM to weaselboy246
Default

nice job
weaselboy246 is offline   Reply With Quote
Old 09-11-2004, 01:45 AM   #11 (permalink)
chrisjones
Guest
 
Posts: n/a
Default NO Worky

Ive try modifying all directives and refrences and still wont locate am i missing something cause this can not locate RaceChoiceGump no matter what i do....
And yes i have race Download in the custom and welcome timer modifyied also and still no work...
  Reply With Quote
Old 09-11-2004, 03:23 AM   #12 (permalink)
Forum Novice
 
Join Date: Jun 2004
Location: Texas
Age: 19
Posts: 206
Default Post File

Here Ill Send You My Welcome Timer.

I was unable to recreate error.... this is for version 1.0 btw...


If this dosent work post the file where u got the errors...
Attached Files
File Type: cs WelcomeTimer.cs (1.0 KB, 28 views)
atticus589 is offline   Reply With Quote
Old 09-11-2004, 09:06 AM   #13 (permalink)
chrisjones
Guest
 
Posts: n/a
Default Ok Ty

Well not sure friend what i was doin but that worked ty.....Looks Great too
MAybe another question i havnt seen this writen like this before can ya point me right direction please id appreciate it...

m.Title = "the Elf"; //Mod these if you wish.
///////////////////////////////REMEMBER TO ERASE
//m.Skills.*SKILLNAME* = ##;//The "//"
//m.Str,Dex,orINT += ##; //
////////////////////////////
//m.Location = new Point3D( 1496, 1628, 10 );
break;

Should this look like this:

m.Skills.*Magery* = 150;//The "//"
m.Skills.*EvalInt* = 125;//
m.Skills.*Meditation* = 150;//
m.Skills.*MagicResist* = 125;//The "//
m.INT += 150; //

Would it be ok like this or should it be done with a full sentance then followed by the other skills... Or did i even write it correctly?
  Reply With Quote
Old 09-11-2004, 01:34 PM   #14 (permalink)
Forum Novice
 
Join Date: Jun 2004
Location: Texas
Age: 19
Posts: 206
Question Ummm Like This

m.Skills.Magery = 150 except when i tried it it came up with errors that it wasn't properly formatted soooo if you wanna try to fix that that is how it worked for me before.... i dun know why it is not working now...
atticus589 is offline   Reply With Quote
Old 09-12-2004, 01:53 PM   #15 (permalink)
chrisjones
Guest
 
Posts: n/a
Default m.Skills.Mining += 125;//The "//"

No didnt work for me tryd it several ways doesnt have right method to server.skills every way i tryd it m.Skills.Mining += 125;//The "//"
m.Str += 135;

Perhaps its missing something in lines for it to have read proper if u figure it out guy let me no id like to start the ones who choose to use it with a lil extras in skills and stats....
One other thing u no if its possible to have the gump not open at birth.....Like say maybe 3 mins into it ....
  Reply With Quote
Old 09-12-2004, 11:53 PM   #16 (permalink)
chrisjones
Guest
 
Posts: n/a
Default Ok i modified some and works great

ill post the script so far and one thing im trying to do is have when seleted a race u get rewarded with a unique item but cant figure out which code to put i keep getting errors....



m.Title = "the Dwarf";
m.Skills[SkillName.Mining].Base = 130;
m.Skills[SkillName.Lumberjacking].Base = 100;
m.Skills[SkillName.Tinkering].Base = 100;
m.Skills[SkillName.Blacksmith].Base = 120;
m.Skills[SkillName.ArmsLore].Base = 90;
m.RawStr = 140;
m.RawDex = 75;
m.RawInt = 40;
Chopper Chopper = new Chopper();
AddToBackpack( Chopper );

break;
}
  Reply With Quote
Old 10-06-2004, 11:24 PM   #17 (permalink)
Forum Novice
 
Join Date: Aug 2004
Age: 19
Posts: 149
Exclamation 504 is a }

On line 504 for me it is a }. what is the wording in this area? //CityInfo city = args.City is this it?
Bobert is offline   Reply With Quote
Reply

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 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5