Total players online: 14



Take the Tour | Site Map

It is currently Sun Dec 10, 2017 11:38 pm

All times are UTC - 8 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 71 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
PostPosted: Tue Apr 18, 2017 6:18 am 
Offline
Developer
Developer
User avatar

Joined: 06/29/2003 11:05
Posts: 2409

That's the problem with not having an up-to-date documentation.

setdef: for setting the default that is used on newly created objects.
setprop: for changing an attribute of one existing object.


Top
  ProfileShow poster's scripts in the public script library 
PostPosted: Tue Apr 18, 2017 9:35 am 
Offline
Legendary Scripter
Legendary Scripter
User avatar

Joined: 07/10/2004 17:11
Posts: 2123

Damnit! ;) Thanks. I should have known that. Grrr. Btw, I love how menu setDef allows you to easily update any menu code you have and put it on any form you create. ;) That's very nice.

_________________
Image


Top
  ProfileShow poster's scripts in the public script library 
PostPosted: Tue Apr 18, 2017 1:27 pm 
Offline
Master Scripter
Master Scripter

Joined: 12/17/2008 13:13
Posts: 373

Groups:
Maybe you can create a forum and add the new documentation that are not listed.


Top
  Profile 
PostPosted: Tue Apr 18, 2017 1:51 pm 
Offline
Legendary Scripter
Legendary Scripter
User avatar

Joined: 07/10/2004 17:11
Posts: 2123

I've written code you can single step through and get a very good head start on how it all works. It's not that difficult. I've already done most of the hard work for you. It's not many commands and they're all very common sense.

_________________
Image


Top
  ProfileShow poster's scripts in the public script library 
PostPosted: Sun Apr 23, 2017 9:59 am 
Offline
Master Scripter
Master Scripter
User avatar

Joined: 09/29/2004 20:36
Posts: 429

Hey Cheffe,

Do you think it would be possible to put a check into EasyUO so that if the scripter tries to create a named control that already exists, EasyUO will first delete it and then re-create? This would mimic the previous functionality. I just ran into this issue with an older script of mine that stopped working as it was originally intended because the control would never delete. It's an easy fix from the scripters side, but I'm certain older scripts will suffer from this misbehavior.


Top
  ProfileShow poster's scripts in the public script library 
PostPosted: Wed Apr 26, 2017 5:59 pm 
Offline
Legendary Scripter
Legendary Scripter
User avatar

Joined: 07/10/2004 17:11
Posts: 2123

And so I don't have to test them all cause I'm busy with other things, which properties apply to Radio buttons? I can figure out most of them through common sense, but I thought I'd ask the person that wrote it. ;) Cause, you like know stuff, and stuff.

_________________
Image


Top
  ProfileShow poster's scripts in the public script library 
PostPosted: Thu Apr 27, 2017 9:53 am 
Offline
Legendary Scripter
Legendary Scripter
User avatar

Joined: 07/10/2004 17:11
Posts: 2123

Worldwide patch went through today. Old client still works for now though. Will you hurry up and update, and make sure you add in the layering of menu elements. I'm having fun with euo again. Lets go pokey! ;) I'm hoping to release a couple fun examples when I get a chance, but they kind of require the ability to position elements on top of each other. You think you'll have the available in the next update?

_________________
Image


Top
  ProfileShow poster's scripts in the public script library 
PostPosted: Wed May 03, 2017 4:56 pm 
Offline
Master Scripter
Master Scripter

Joined: 12/17/2008 13:13
Posts: 373

Groups:
With the new build for some reason the text will not show. This is not the only menu that is broke, If you cant see anything wrong with the code. have a look at the menu Font BGColor BtnText and BtnFace I have to change a few BGColor to same color as menu Window Color Teal.


Top
  Profile 
PostPosted: Thu May 04, 2017 1:51 pm 
Offline
Developer
Developer
User avatar

Joined: 06/29/2003 11:05
Posts: 2409

The Ghost wrote:
With the new build for some reason the text will not show. This is not the only menu that is broke, If you cant see anything wrong with the code. have a look at the menu Font BGColor BtnText and BtnFace I have to change a few BGColor to same color as menu Window Color Teal.


This says nothing to me. I haven't changed anything since 312. You can't name labels all the same anymore, they need different names. And transparency doesn't work for the moment I think. Other than that labels should be fine. Otherwise post a few lines to illustrate the issue. Me chasing after some bug after not having played UO in 10+ years is very very unlikely.


Top
  ProfileShow poster's scripts in the public script library 
PostPosted: Thu May 04, 2017 4:57 pm 
Offline
Master Scripter
Master Scripter

Joined: 12/17/2008 13:13
Posts: 373

Groups:
This is the origninal Sub for the menu. By changing the BGColor it look like it use to be if not the Text have a black box.
Code:
  1.  
  2. sub Calc_menu
  3.         menu Clear
  4.         menu Window Title Hosebomber's Armor Calculator Ver 2.1
  5.         menu Window Color Teal
  6.         menu Window Size 560 210
  7.         menu Font Transparent #true
  8.         menu Font Align Right
  9.         menu Font Name MS Sans Serif
  10.         menu Font Size 10
  11.         menu Font Style
  12.         menu Font Color WindowText
  13.         menu Font Align Left
  14.         menu Font BGColor BtnFace   ; <------ change that to Teal instead of BtnFace on Build 321 May 2017
  15.         menu Text lrc 10 5 LRC:
  16.         menu Text lmc 10 25 LMC:
  17.         menu Text enhance_pots 10 45 Enhance Pots:
  18.         menu Text di 10 65 Damage Increase:
  19.         menu Text hci 10 85 Hit Chance Increase:
  20.         menu Text dci 10 105 Defense Chance Increase:
  21.         menu Text sdi 10 125 Spell Damage Increase:
  22.         menu Text hpr 250 5 HP Regen:
  23.         menu Text hi 250 25 HP Increase:
  24.         menu Text sr 250 45 Stam Regen:
  25.         menu Text si 250 65 Stam Increase:
  26.         menu Text mr 250 85 Mana Regen:
  27.         menu Text mi 250 105 Mana Increase:
  28.         menu Text stri 250 125 Strength Increase:
  29.         menu Text dexi 250 145 Dexterity Increase:
  30.         menu Text inti 250 165 Intelligence Increase:
  31.         menu Text physres 425 5 Physical Resist:
  32.         menu Text fireres 425 25 Fire Resist:
  33.         menu Text coldres 425 45 Cold Resist:
  34.         menu Text poisres 425 65 Poison Resist:
  35.         menu Text enrgres 425 85 Energy Resist:
  36.         menu Text fc 145 5 FC:
  37.         menu Text fcr 145 25 FCR:
  38.         menu Text luck 145 45 Luck:
  39.         menu Font Style b
  40.         menu Font BGColor BtnFace  ; <------ change that to Teal instead of BtnFace on Build 321 May 201
  41.         menu Text Status 10 190 Status:
  42.         menu Font Style
  43.         menu Text update_status 60 190 Waiting for User Input....
  44.         menu Font Size 8
  45.         menu Font Style b
  46.         menu Text user_lrc 45 7 %user_lrc %
  47.         menu Text user_lmc 45 27 %user_lmc %
  48.         menu Text user_ep 100 47 %user_ep %
  49.         menu Text user_di 135 67 %user_di %
  50.         menu Text user_hci 135 87 %user_hci %
  51.         menu Text user_dci 170 107 %user_dci %
  52.         menu Text user_sdi 170 127 %user_sdi %
  53.         menu Text user_hpr 350 7 %user_hpr
  54.         menu Text user_hi 350 27 %user_hi
  55.         menu Text user_sr 350 47 %user_sr
  56.         menu Text user_si 350 67 %user_si
  57.         menu Text user_mr 350 87 %user_mr
  58.         menu Text user_mi 350 107 %user_mi
  59.         menu Text user_stri 380 127 %user_stri
  60.         menu Text user_dexi 380 147 %user_dexi
  61.         menu Text user_inti 380 167 %user_inti
  62.         menu Text user_fc 180 7 %user_fc
  63.         menu Text user_fcr 180 27 %user_fcr
  64.         menu Text user_luck 180 47 %user_luck
  65.         menu Text user_physres 525 7 %user_PhysRes
  66.         menu Text user_fireres 525 27 %user_FireRes
  67.         menu Text user_coldres 525 47 %user_ColdRes
  68.         menu Text user_poisres 525 67 %user_PoisRes
  69.         menu Text user_enrgres 525 87 %user_EnrgRes
  70.         menu Font Size 10
  71.         menu Font BGColor BtnFace
  72.         menu Button calculate 10 150 75 30 Calculate
  73.         menu Button insure 100 150 85 30 Insure Suit
  74.         menu Show 50 50
  75.         menu HideEUO
  76. return
  77.  
  78.  
  79.  


Top
  Profile 
PostPosted: Fri May 05, 2017 5:40 am 
Offline
Developer
Developer
User avatar

Joined: 06/29/2003 11:05
Posts: 2409

Cheffe wrote:
And transparency doesn't work for the moment I think.


Read quote! I will probably add transparency back in at some point. However, it has no priority whatsoever.
Thanks for everyone's comments. I will now lock this thread.

*thread locked*


Top
  ProfileShow poster's scripts in the public script library 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 71 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Hosted by CalWeb Internet Services, Inc.