46
General UO Chat / Re: Does reforged items always equal crap durability?
« on: December 12, 2012, 05:46:07 AM »
Are you talking about the Brittle characteristic?
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.
Set %Rail_Name SPR1
Set %File_Name %Rail_Name
Set %File_Name_txt %File_Name , .txt
Set %File_Path C:\Users\CRS\Desktop\EUO\
Set %File_Path_And_Name_txt %File_Path , %File_Name_txt
Set %WP_Save WP
GoSub ENs_ClearFile %File_Path_And_Name_txt
Set %X 0
Repeat
{
onhotkey f4
Set %HotKey4 True
onhotkey f5
Set %HotKey5 True
If %HotKey4 = True
{
Set %X %X + 1
Set %WP_Save . %X %WP_Save , %X
Set %WP . %X X . #CHARPOSX , Y . #CHARPOSY , Z . #CHARPOSZ
Event exmsg #charid 3 4 %WP . %X
gosub ENs_SaveData %File_Path_And_Name_txt %WP_Save . %X
Set %HotKey4 False
}
}
Until %HotKey5 = True
Set %WP_Count %X
Gosub ENs_SaveData %File_Path_And_Name_txt WP_Count
Halt
; ENs Var Save
Set %WP1 X2164Y2169Z7
Set %WP2 X2164Y2169Z7
Set %WP3 X2164Y2169Z7
Set %WP4 X2164Y2169Z7
Set %WP_Count 4
Set %Test_Variable Blah
Set %Test_Variable_Save Test_Variable
Set %File_Name Data_test
Set %File_Path C:\Users\CRS\Desktop\EUO\
Set %File_Name_txt Data_test . .txt
Set %File_Path_And_Name_txt %File_Path , %File_Name_txt
goSub ENs_ClearFile %File_Path_And_Name_txt
For %X 1 10
{
Set %Test_Variable_Save . %X %Test_Variable_Save , %X
Set %Test_Variable . %X %Test_Variable , %X
gosub ENs_SaveData %File_Path_And_Name_txt %Test_Variable_Save . %X
}
Halt
Set %Test_Variable1 Blah1
Set %Test_Variable2 Blah2
Set %Test_Variable3 Blah3
Set %Test_Variable4 Blah4
Set %Test_Variable5 Blah5
Set %Test_Variable6 Blah6
Set %Test_Variable7 Blah7
Set %Test_Variable8 Blah8
Set %Test_Variable9 Blah9
Set %Test_Variable10 Blah10
gosub ENs_SaveData %File_Path_And_Name_txt TestVar TestVar2
Event Macro 1 0 STARTING TEST
wAIT 5
SET %TestVar 1
set %testvar2 test
set %File_Name Data_test
Set %File_Path C:\Users\CRS\Desktop\EUO\
set %File_Name_txt Data_test . .txt
;Event exmsg #charid 3 4 TEST MESSAGE The file is now named %File_Name_txt
Set %File_Path_And_Name_txt %File_Path , %File_Name_txt
;Event exmsg #charid 3 4 TEST MESSAGE The File path with the file name %File_Path_And_Name_txt is saveing a test value of %testvar - %testvar2
goSub ENs_ClearFile %File_Path_And_Name_txt
gosub ENs_SaveData %File_Path_And_Name_txt TestVar TestVar2
; ~~~~~~~~~~~~~~~~~~~
set %testvar 2
set %testvar2 boo
;Event exmsg #charid 3 4 TEST MESSAGE reseting testvalue to %testvar : %testvar2
; ~~~~~~~~~~~~~~~~~~~
gosub ENs_LoadData %File_Path_And_Name_txt
;Event exmsg #charid 3 4 TEST MESSAGE TestValue = %testvar : %testvar2 $ (should be 1 : test what was saved in file)
halt