Author Topic: Event property = Nothing Glitch  (Read 3744 times)

0 Members and 1 Guest are viewing this topic.

Offline manwincTopic starter

  • 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: +272
  • Referrals: 1
    • View Profile
Event property = Nothing Glitch
« on: December 17, 2009, 07:58:25 PM »
0
I think I read someone asking about this at one point, where Event property Doesn't return Anything because the client hasn't sent the information over. Actually there is A Really EASY way to check this


set %Nothing ; literally set it to nothing :)
event property #Findid
if #Property = %Nothing
{
uhh..... Loop or something
}
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 gen2000

  • Full Member
  • ***
  • Posts: 123
  • Activity:
    0%
  • Reputation Power: 0
  • gen2000 has no influence.
  • Gender: Male
  • Respect: +82
  • Referrals: 1
    • View Profile
Re: Event property = Nothing Glitch
« Reply #1 on: December 17, 2009, 08:04:35 PM »
0
I thought #property = $ when there wasn't a property..

Offline manwincTopic starter

  • 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: +272
  • Referrals: 1
    • View Profile
Re: Event property = Nothing Glitch
« Reply #2 on: December 17, 2009, 09:01:33 PM »
0
Does it? I always just figured it = Nothing since there isn't another line for it to get the property for?
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 manwincTopic starter

  • 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: +272
  • Referrals: 1
    • View Profile
Re: Event property = Nothing Glitch
« Reply #3 on: December 17, 2009, 09:28:18 PM »
0
Ah, Yes it does = $ Just saw it in my script.

I just couldn't See it in my menu since $ in a menu equals a new Line. BOoyah!
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 OMGBurgers

  • Hero Member
  • *
  • Posts: 800
  • Activity:
    0%
  • Reputation Power: 7
  • OMGBurgers has no influence.
  • Respect: +83
  • Referrals: 0
    • View Profile
Re: Event property = Nothing Glitch
« Reply #4 on: December 18, 2009, 01:23:11 PM »
0
Sometimes it'll do $, sometimes it'll do Leather Gorget$ but not show the remaining mods.  It's a major PITA.  I usually make my script use a sub to handle event property.  Do a STR COUNT on $, if it's less than 2, redo it.  I'm pretty sure all items in the game have more than one line in the property window except a select few.  Have the sub support the ability to take the minimum amount of lines to look for if needed so it'll be in the %1 or %2 value depending on how you set it up.

Code: [Select]
Gosub GetProperty #FindID 3

Sub GetProperty
;%1 = ID of item
;%2 = Minimum number of lines in item property
   str count %1 $
   while #strres < %2
      {
      wait 1
      str count %1 $
      }
return

Offline Masscre

  • Gran Master Jester !!
  • Scripthack
  • *
  • Posts: 4615
  • Activity:
    0%
  • Reputation Power: 55
  • Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!
  • Gender: Male
  • Air Guitar Commander !!
  • Respect: +390
  • Referrals: 1
    • View Profile
Re: Event property = Nothing Glitch
« Reply #5 on: December 18, 2009, 06:26:38 PM »
0
Thank you for this little bit of info OMGBurger.  This is something i had been playing with some time ago and glad to see a solution to this.

Offline manwincTopic starter

  • 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: +272
  • Referrals: 1
    • View Profile
Re: Event property = Nothing Glitch
« Reply #6 on: December 18, 2009, 07:27:50 PM »
0
You would think that You would have to do Event property again and again before easyuo would realize the Property changed.....
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"

Tags: