Author Topic: Need some help here please.  (Read 2979 times)

0 Members and 1 Guest are viewing this topic.

Offline frankieownsTopic starter

  • Newbie
  • *
  • Posts: 5
  • Activity:
    0%
  • Reputation Power: 1
  • frankieowns has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Need some help here please.
« on: October 15, 2012, 11:18:10 AM »
0
s7 bod filler

Our craft gump size is the same as osi's, so the first thing i did in bodfiller is add our shard to the end of the list of osi shard names. so it tells bodfiller to use the crafinfo.txt (not the FS version). this is better, the script now at least interacts with the craft gump, though not perfectly.

I'm using a bandana bod for my testing here. in craftinfo, it says this about bandanas:

Code: [Select]
if %1 = bandana || %1 = gzh
   gosub _sub bandana gzh 1 scissors hats 2 1 1 tailoring 0 1 cloth 2

we're interested in the second line really.
bandana = item name
gzh = item type
1 = item weight
scissors = item disposal (the tool needed to recycle the item)
hats = category name
2 = category number
1 = selection number (what number the bandana is in the right hand pane)
1 = skillcount
tailoring = skillname
0 = skill value
1 = material count
cloth = material name
2 = material value


we're concerned with category number, and selection number. When i let the script try to fill the bandana sbod, it crafts shirts instead. so, looking at our menu, the category number in the left hand pane for shirts is 2, and the selection number for the right hand pane is 1. Shirts (left) is the third option down. shirt (the craftable item) in the right hand pane is the second one down.

had the script chosen the category Hats correctly, then i think it would have made bandanas, as these are the same option number in the right hand pane as shirts. to test:

Code: [Select]
if %1 = bandana || %1 = gzh
   gosub _sub bandana gzh 1 scissors hats ***1*** 1 1 tailoring 0 1 cloth 2

changing the 2 to a 1 - marked here in ***.

Result: this works.

So I know that all hats in the craftinfo file need 2 changing to 1.

    Pants must have been merged into the same category as shirts on osi, it's the second of the 3 numbers that needs changing for each item (starting on 0 with short pants).
    Footwear's right hand pane numbers seem to be one too high for each item.
    Studded Ar's left hand number should be 7, not 8.
    Female Ar's left hand number should be 8, not 9.
    Bone Ar's left hand number should be 9, not 10.
    Chainmail and probably platemail as well must have been merged into the first category on osi. First and second numbers will need adjusting for each, sadly. Chainmail should be 2, Plate 3. etc.

Done all those changes and same crap for tinkering.

next problem is with getting the target on the open bod gump to target all the tunics or whatever to fill the bod.

Ive added the file and one more post is coming with how far ive gotten so please read throu n help me please.
« Last Edit: October 15, 2012, 11:20:05 AM by TrailMyx »

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: Need some help here please.
« Reply #1 on: October 15, 2012, 11:20:45 AM »
0
I removed the attached scripts.  Please post links to the scripts from EUO.  Thanks.

If you did write one of those files, then feel free to attach, but please link Snickers work.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline frankieownsTopic starter

  • Newbie
  • *
  • Posts: 5
  • Activity:
    0%
  • Reputation Power: 1
  • frankieowns has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Need some help here please.
« Reply #2 on: October 15, 2012, 11:24:23 AM »
0
« Last Edit: October 16, 2012, 01:13:57 AM by TrailMyx »

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Re: Need some help here please.
« Reply #3 on: October 15, 2012, 07:01:23 PM »
0
Not sure if any of my comments are your problem; but thiers issues i see

having the 2 on the end of an if line means process 2 lines  ie
 {
            gosub s7WaitForVars contsize = !craftGumpContSize contname = generic_gump 2
 
Remove the 2 so that it processes whats inside {}



I would also change
if ( ! !FirstCall || ( !1 = Smith && !Destroy ) ) && !loop <> 2 2

to
if  !loop <> 2  &&  ( !FirstCall = #False || (  !1 = Smith && !Destroy = #true )  ) 

EUO sometimes gets weird with logic stuff not sure it always as it should spaces are needed between ) )
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline frankieownsTopic starter

  • Newbie
  • *
  • Posts: 5
  • Activity:
    0%
  • Reputation Power: 1
  • frankieowns has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Need some help here please.
« Reply #4 on: October 16, 2012, 08:14:16 AM »
0
I tried it changed what you said but no luck im afraid wish i knew the author so he could help me hehe but oh well keep trying! :P thanks for your help thou much appreciated mate.

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Re: Need some help here please.
« Reply #5 on: October 16, 2012, 07:22:15 PM »
0
I believe but i could be wrong, that snicker7 is still active over on EUO
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Tags: