Discussion in   Coding Corner   started     11 years ago   July 21, 2013, 11:45:07 PM   by   Keldon

Mob, Weapon Smuggler

Keldon
Offline
223 Posts
Topic :   Mob, Weapon Smuggler
11 years ago  July 21, 2013, 11:45:07 PM

I added the stuff you suggested but the SayRandom is in error.  Did i forget to declare something?

Kyn
Offline
336 Posts
#1 Re :   Mob, Weapon Smuggler
11 years ago  July 22, 2013, 03:03:16 AM

I added the stuff you suggested but the SayRandom is in error.  Did i forget to declare something?




Looks like you are missing this:
Code: [Select]
private static void SayRandom( string[] say, Mobile m )
               {
                    m.Say( say[Utility.Random( say.Length )] );
               }

Keldon
Offline
223 Posts
#2 Re :   Mob, Weapon Smuggler
11 years ago  July 22, 2013, 03:21:31 AM

thank you Kyn,  that was it.  Maybe I should not code while drinking.

Kyn
Offline
336 Posts
#3 Re :   Mob, Weapon Smuggler
11 years ago  July 22, 2013, 03:24:12 AM

thank you Kyn,  that was it.  Maybe I should not code while drinking.


It happens :)

Keldon
Offline
223 Posts
#4 Re :   Mob, Weapon Smuggler
11 years ago  July 22, 2013, 03:27:52 AM

sadly it is going to happen some more.  bottle of liquor on my desk and i want to get one more NPC and GUMP down tonight.  If it just doesnt make sense then I will look at it tomorrow.

Kyn
Offline
336 Posts
#5 Re :   Mob, Weapon Smuggler
11 years ago  July 22, 2013, 03:39:34 AM

sadly it is going to happen some more.  bottle of liquor on my desk and i want to get one more NPC and GUMP down tonight.  If it just doesnt make sense then I will look at it tomorrow.


I don't recommend mixing something that requires severe mental acuity with something that destroys mental acuity completely.


I'm on teamspeak if you'd rather work sober with a friendly programmer :)

Keldon
Offline
223 Posts
#6 Re :   Mob, Weapon Smuggler
11 years ago  July 22, 2013, 03:48:35 AM

It is too late for sober work tonight.  I am shockingly coherent when drinking.  I will see what I can put down and figure out tonight.


I would look for more stuff tomorrow and maybe we can get in TS tomorrow and sort out any issues I do not figure out tonight.

Kyn
Offline
336 Posts
#7 Re :   Mob, Weapon Smuggler
11 years ago  July 22, 2013, 03:56:24 AM

It is too late for sober work tonight.  I am shockingly coherent when drinking.  I will see what I can put down and figure out tonight.


I would look for more stuff tomorrow and maybe we can get in TS tomorrow and sort out any issues I do not figure out tonight.


Good luck :)

Keldon
Offline
223 Posts
#8 Re :   Mob, Weapon Smuggler
11 years ago  July 22, 2013, 04:30:19 AM

 ;D


I think I shot way past coherent programming for tonight.  Attention span is short.  I will try and figure out more tomorrow and post what I cannot figure out.