Author Topic: hit the wall o this sub  (Read 2806 times)

0 Members and 1 Guest are viewing this topic.

Offline roadrunnerTopic starter

  • Full Member
  • ***
  • Posts: 107
  • Activity:
    0%
  • Reputation Power: 2
  • roadrunner has no influence.
  • Gender: Male
  • Respect: +28
  • Referrals: 1
    • View Profile
hit the wall o this sub
« on: May 23, 2013, 03:36:46 PM »
0
I cannot figure out the code of this sub. the ''TR" in almost every line = what? "true" ? i thought i was doing good until i got into this section. now i feel like a Uber Newb again.

; Hands in the bucklers
sub TR_Hand_in
set %TR_temp_weight #weight
repeat
set #lobjectID %TR_Donation_NPC
event macro 17 0
gosub TR_waitfor_generic_gump
set #contPosX 0
set #contPosY 0
wait 5
click 290 318 dmc
wait 10
msg %TR_no_bucklers $
wait 10
until #weight < %TR_temp_weight
set %TR_Status_bucklers ( %TR_Status_bucklers + %TR_no_bucklers )
set %TR_no_bucklers 0
gosub TR_update_status
return


PS: Thx to UOLugnutz, i did learn how to post a sub 'correctly' in here so today hasn't been total loss

Offline manwinc

  • Elite
  • *
  • *
  • Posts: 2556
  • Activity:
    0%
  • Reputation Power: 32
  • manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!
  • Gender: Male
  • "The Devs Hard at Work"
  • Respect: +123
  • Referrals: 1
    • View Profile
Re: hit the wall o this sub
« Reply #1 on: May 23, 2013, 03:51:34 PM »
0
The TR in every Line is just Someone leaving their signature on their code.

Like

Gosub Manwinc_PwnFace
Monkeys and Typewriters!

" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13303
  • Activity:
    0.4%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: hit the wall o this sub
« Reply #2 on: May 23, 2013, 03:52:15 PM »
0
That's the script author's initials.  In this case it stands for "The Reaper".  It's just a way to identify if a variable is owned by someone.

**  Shakes fist at MW for beating me to the answer **  ** shakes fist ** lol

BTW, if you are ever thinking about posting a script that was based off of work done by someone else, you need to get their permission first.  Just an FYI; this is a rule we've enforced for a long time now.
« Last Edit: May 23, 2013, 03:54:06 PM by TrailMyx »
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline dxrom

  • Master of the milestones!
  • Elite
  • *
  • *
  • Posts: 1080
  • Activity:
    0%
  • Reputation Power: 15
  • dxrom is working their way up.dxrom is working their way up.dxrom is working their way up.
  • KEYBOARD COWBOY, GREAT SAMURAI OF THE INTERNET.
  • Respect: +100
  • Referrals: 1
    • View Profile
Re: hit the wall o this sub
« Reply #3 on: May 23, 2013, 03:58:22 PM »
0
Code: [Select]
indentations saves lives



 ​_██​_
(ಠ​_ృ)
I do say, ol' Chap! Come play EVE Online! Why here is a 21 Day Free Trial!

Offline roadrunnerTopic starter

  • Full Member
  • ***
  • Posts: 107
  • Activity:
    0%
  • Reputation Power: 2
  • roadrunner has no influence.
  • Gender: Male
  • Respect: +28
  • Referrals: 1
    • View Profile
Re: hit the wall o this sub
« Reply #4 on: May 23, 2013, 04:00:43 PM »
0
i'd never post anyone else's work. i thank you for reaffirming that rule but it's his script that's motivated me to write a script, so i'm going to do my best to finish debugging his Donator. it has so many different elements all rolled into 1, it's teaching me a good bit, plus i'm reading Cerveza's #5 tutorial while studying this sub.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13303
  • Activity:
    0.4%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: hit the wall o this sub
« Reply #5 on: May 23, 2013, 04:05:32 PM »
0
No worries, just throwing it out there since it's happened before.  Some people think that if they "change" the code of someone else enough that they assume responsibility for it.  Since you are using it as a learning experience, that's no different than nearly the rest of us who learned from the code of others.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline roadrunnerTopic starter

  • Full Member
  • ***
  • Posts: 107
  • Activity:
    0%
  • Reputation Power: 2
  • roadrunner has no influence.
  • Gender: Male
  • Respect: +28
  • Referrals: 1
    • View Profile
Re: hit the wall o this sub
« Reply #6 on: May 24, 2013, 04:43:24 AM »
0
:D  i'm not really changing his 'code' just all the parameters & coordinates, so it'll some day work on the servers i use.  but now you guys explained the initials, i see (and i also noticed he gave thanks and i'm sure he had permission) TM's name/ subscripts all thru his work. just learning & realizing he didn't 'write' all 1000 lines of code but arranged it so it did what he wanted. and yep, now i'm trying to do the same kinda thing but not quite on such grandiose scale as he did.

Tags: