Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - wreckdumb

Pages: [1]
1
Script Debug / Re: Curseweapon script
« on: February 07, 2011, 11:04:31 PM »
okay i got this script working exactly how i want it to run
just wanna make it visually better before i give it out to public

what i wanna do is when %Curseweap > 5 seconds  i want background font to be default black
and when %Curseweap <= 5 background to change to red.
 i tried doing this, but i dont know how to specify which control font to change.

after that its pretty much done. so please help finish up my first script!

Code: [Select]
;=================================================================
; Script Name: Curse Weapon Timer!
; Author: Wreckdumb and the rest of the kick ass team at scriptuo lol.
; Version: 1.0
; Shard OSI / FS: OSI / FS OK
; Revision Date: 2/8/2011
; Purpose: SMALL Menu Countdown timer for Curse weapon, and maybe more later on =P
; Globals: None
;=================================================================
; Special Instructions:
;
;
;
;--------------SETUP--------------
SET %CW_HOTKEY 9        ; Hotkey you wish to use to cast curseweapon
SET %CWTUNE 2           ; Adds 1s per 1,
;------------END SETUP------------
gosub CWMenu1
;
;
;
;
;
repeat
 onhotkey %CW_HOTKEY
  gosub curseweapon
  gosub updatetimer
  SET %Curseweap %CW - #SCNT
until #FALSE

sub curseweapon
  event macro 15 104 ; Cast Curse weapon
  chooseskill Spir   ;choose spirit speak
  SET %SS ( #skill * 10 ) / 34 + 1
  SET %CW #SCNT + %SS * 2 / 20 + %CWTUNE
  gosub updatetimer
return

sub updatetimer
if %Curseweap = 5     ; change this value to how many seconds before curse weapon ends for it to play sound.
sound
if %Curseweap <= 0
 menu set RECAST RECAST
 else
 menu set RECAST %Curseweap
return

;--------- EasyUO Menu Designer Code Begin ---------
sub CWMenu1
menu Clear
menu hideEUO
menu Window Title CW
menu Window Color Black
menu Window Size 113 14
menu Font Transparent #true
menu Font Align Right
menu Font Name MS Sans Serif
menu Font Size 8
menu Font Style
menu Font Color White
menu Font Transparent #false
menu Font Align Left
menu Font BGColor Black
menu Text Curseweapon 0 0 Curseweapon
menu Font Align Right
menu Font BGColor Red
menu Text RECAST 112 0 RECAST
menu Show 421 270
return
;--------- EasyUO Menu Designer Code End ---------

2
Script Debug / Re: Curseweapon script
« on: February 07, 2011, 10:29:11 AM »
I wrote a tutorial to show how to make changes within a menu without having to reload the entire menu.

Just stroll over to the tutorials forum and you should be able to find it in there.... if not just post back and I'll look it up for you.

dang posted 1 minute too late lol, ill check out your guide! ty

3
Script Debug / Curseweapon script
« on: February 06, 2011, 10:11:12 PM »
hello, my goal here is to create a simple Curseweapon(CW) Timing script for my first script. what i wanna do now with this script is make a little menu with a CW count down. also i want the script to "read" when CW is recast so the timer can reset itself. please help with this.
all constructionism welcome since i know there mistakes. just no making fun of my first script =P

Code: [Select]
SET %NegativeCW 120    ; change this value 20 for every 1s you want to hear the Sound before Curse weapon expires.  100=5s
SET %Hotkey q          ; Change this to the key you wish to press to cast Curse weapon
;
;
;  No need to edit below here
;
keyloop:
onhotkey %Hotkey
gosub curseweapon

sub curseweapon
event macro 15 104 ; Cast Curse weapon
chooseskill Spir
set %SS ( #skill * 10 ) / 34 + 1
set %finaltime ( %SS * 2 ) - %NegativeCW
gosub Sound

sub sound  ; plays sound and message popup!
wait %finaltime
sound
wait 60
event ExMsg # 3 60 3...
wait 20
event ExMsg # 3 55 2...
wait 20
event ExMsg # 3 50 1...
wait 40
event ExMsg # 3 33 -=Curse Weapon Faded=-
return

if im doing anything wrong please tell me, so i can learn the right way the first time around!

4
New member introductions / Re: hello all. grim reefer here!
« on: December 18, 2010, 12:45:01 AM »
Thank you for the invite!, ohh i wont be a stranger, ill be asking for help VERY soon! haha. but ya it took me a long time to register, but after having some problems. i decided to scope out some others works, see where i went wrong/where to improve. but i will be askin for some help soon! ty again for the invite!

5
New member introductions / hello all. grim reefer here!
« on: December 15, 2010, 07:04:31 PM »
       hello, my character name is The Grim reefer. I first started UO on Pacific shard, and after i long break i returned and played Baja ever since. i mostly just run vendors and a runelibrary in my adventures of Ultima online, but like to PVP and PVM too.
       I started useing easyuo but it seemed like i had tweak everyscript someone has generously posted. so i tweaked scipts to get them working, learning about the EUO code as much as i could. well the person that recommended EUO to me just recommended Scriptuo, telling me its has more complexity to it, so here i am. here to learn how to make even better scripts than i could with easyuo! so give me a chance to learn and contribute to your elite community!

thank you for your time reading my post, and thank you for consideration! have a good day.
     

Pages: [1]