-
Posts
16 -
Joined
-
Last visited
Profile Information
-
Gender
Male
-
Location
iraq
Recent Profile Visitors
1698 profile views
waleed90's Achievements
Poring (1/15)
0
Reputation
-
need help to change in agit_controller.txt
waleed90 replied to waleed90's question in Scripting Support
thank you i solved it with this script -
hello, i need to make some change in this script: //===== rAthena Script ======================================= //= War of Emperium - Auto-Start //===== By: ================================================== //= kalen (1.0) //= 1.1 by Akaru and ho|yAnge| //===== Current Version: ===================================== //= 2.0 //===== Compatible With: ===================================== //= rAthena Project; RO Episode 4+ //===== Description: ========================================= //= Auto-start for War of Emperium FE. //= For instructions, see doc/woe_time_explanation.txt. //===== Additional Comments: ================================= //= 1.1a changed OnInit to OnAgitInit.[kobra_k88] //= 1.2 added gettime checks. removed $AgitStarted var.[kobra_k88] //= 1.3 Moved treasure spawn time here.[kobra_k88] //= 1.3a Implemented Shadowlady's idea to allow for different //= start/stop times on different days.[kobra_k88] //= 1.4 Fixed treasure chests spawn! We had to unroll some loops //= Now they appear in castles from 00:01 to 00:24. [Lupus] //= 1.5 Fixed WOE end messages on non-WOE days, by Avaj //= 1.5a missing tabs [KarLaeda] //= 1.6 Corrected multiple "WoE has begun" announces [ultramage] //= 1.7 Commented out the WoE start and end announces. [L0ne_W0lf] //= 1.8 Castle owners displayed when WoE starts and finished. [L0ne_W0lf] //= 1.8a Will now report unoccupied castles at start/end. [L0ne_W0lf] //= 1.8b Whoops. Fixed a mistake [L0ne_W0lf] //= 1.9 Rearranged the time-checks so they no longer use goto. [L0ne_W0lf] //= Removed treasure spawning function calls. (No longer needed) //= 2.0 Added WoE Battle Log support for broadcasts. [L0ne_W0lf] //============================================================ - script Agit_Event -1,{ end; OnClock2100: //start time for Tues(2), Thurs(4) OnClock2300: //end time for Tues(2), Thurs(4) OnClock1600: //start time for Sat(6) OnClock1800: //end time for Sat(6) OnAgitInit: // starting time checks if((gettime(4)==2) && (gettime(3)>=21 && gettime(3)<23) || (gettime(4)==4) && (gettime(3)>=21 && gettime(3)<23) || (gettime(4)==6) && (gettime(3)>=16 && gettime(3)<18)) { if (!agitcheck()) { AgitStart; callsub S_DisplayOwners; } end; } // end time checks if ((gettime(4)==2) && (gettime(3)==23) || (gettime(4)==4) && (gettime(3)==23) || (gettime(4)==6) && (gettime(3)==18)) { if (agitcheck()) { AgitEnd; callsub S_DisplayOwners; } end; } end; S_DisplayOwners: setarray .@maps$[0],"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05"; setarray .@maps$[5],"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05"; setarray .@maps$[10],"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05"; setarray .@maps$[15],"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; for( set .@i, 0; .@i <= 19; set .@i, .@i+1 ) { if (GetCastleData(.@maps$[.@i],1)) { Announce "The [" + GetCastleName(.@maps$[.@i]) + "] castle has been conquered by the [" + GetGuildName(GetCastleData(.@maps$[.@i],1)) + "] guild.",bc_all|bc_woe; } else { Announce "The [" + GetCastleName(.@maps$[.@i]) + "] castle is currently unoccupied.",bc_all|bc_woe; } } end; } when the war started in the game appear: i need to change this to: and at the end of war appear: i need to change this to:
-
hello i have problem in fluxcp the date and time in logdata for game i tried to change it but nothing change i changed my vps time and nothing happen also i changed 'DateDefaultTimezone' and 'Timezone' in application.php and servers.php and nothing happen
-
hello i have error when i running rathena everything works fine and i can login in game but in putty i get this Notice [Notice]: Authentication accepted (account: test, id: 1, ip: 127.0.0.1) [Notice]: Connection of the char-server 'rathena' REFUSED. [info]: Closed connection from '127.0.0.1'. the server installed in vps
-
ok can i change file path from system folder to any path in my grf
-
the file i need to encrypt it is System/itemInfo.lub if i delete it the patched will not work
-
thank you now it's working
-
the file in System folder not in grf
-
thank you for reply i change it but when i double click nothing happen
-
hello i need to change Poring Coin script when double click give 1 cash point and can any one sell it i found many topic but did not work
-
hello i need to secret or encrypt .lub file this file is not in grf or how to change path for this file so no one can find or stealing it
-
hello i trying to translate questid2display.txt to arabic the problem all text appear in game,but inverse in quest window so where can i define arabic language?
-
hello I need help please I installed freebies addon after i make code for add 100 credit when any player use this code he will get 100 credit all i need is npc to change the credit to cashpoint ingame or is there different way to add cashpoint instead of credit from freebies?
-
hello guys I have problem with arabic language I tried to translate npc language but it appear like this also why after make any change in data.grf with Grfeditor and save change the file size reduce