Search the Community
Showing results for tags 'build'.
Found 3 results
-
Build manager script (how do I get it to save/load skills as well)
anjasoleil0 posted a question in Script Requests
Hi, I have this build manager I got from a friend. The build only saves stats though. Is there any way I we can make it save and load skills as well? Build Manager.txt -
[2016-01-10] Enable debug information in configure by default
Haru posted a topic in Repository News
Rationale: Historically, we've received several crash reports or null pointer reports that were of barely any use, because they were produced by servers built without debug information. Contents: The default build mode, when using the UNIX ./configure && make build scripts, is now set to include debug information. Impact: The performance decrease when built in debug mode should be negligible. In any case, it's still possible to disable the debug mode while compiling. Users concerned with minimal performance improvements, who don't want a readable backtrace in case of issues, can still pass --disable-debug to the configure script. Details: The configure script provides a command line flag to enable/disable/configure the debug mode options: Before this commit, the default, when passing no options, was equivalent to: ./configure --disable-debug After this commit, the default will be: ./configure --enable-debug Another recommended option worth mentioning, that might improve the debugger's ability to produce meaningful information (in case of gdb) is: ./configure --enable-debug=gdb Merge Date: Sun, 10 Jan 2016 18:34:56 +0300 Related Pull Requests: - #1090 - https://github.com/HerculesWS/Hercules/pull/1090 - Enable debug information in configure by default. [Andrei Karas] Related Commits: - d0af903 - https://github.com/HerculesWS/Hercules/commit/d0af903 - Sun, 10 Jan 2016 18:34:56 +0300 Enable debug information in configure by default. [Andrei Karas] - c01f745 - https://github.com/HerculesWS/Hercules/commit/c01f745 - Sun, 10 Jan 2016 18:41:19 +0100 Merge pull request #1090 from 4144/enabledebug [Haru] -
Ola alguém sabe o do por que esse npc não esta funcionando ? //===== rAthena Script ======================================= //= Build Manager + //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.8 //===== Description: ========================================= //= Stores stat builds into a single character variable. //============================================================ prontera,167,198,6 script Build Manager 930,{ function Get_Menu; function Save_Build; function Load_Build; set .@BuildCount,3; // Number of builds to use set .@Save,5000; // Zeny required to save a build set .@Load,10000; // Zeny required to load a build set .@Rename,1000; // Zeny required to rename a build set .@MaxLevel,200; // Maximum base level (to prevent stat overflow) if (BaseLevel < .@MaxLevel) { message strcharinfo(0),"Você precisa estar no level "+.@MaxLevel+" para usar este npc."; end; } switch(select("Salvar Build...:Carregar Build...:Renomear Build...:Close")) { case 1: if (.@Save) message strcharinfo(0),"Ira custar "+.@Save+" Zeny para salvar sua build."; set .@Build, Get_Menu(.@BuildCount); if (Zeny<.@Save) { message strcharinfo(0),"Zeny insulficiente."; close; } if (getd("Build_"+.@Build+"$")!="") { message strcharinfo(0),"Overwrite previous build #"+.@Build+"?"; if(select("Save new build:Cancel")==2) close; } Save_Build(.@Build); message strcharinfo(0),"Digite um nome para sua build."; input getd("Build_"+.@Build+"n$"); message strcharinfo(0),"Build #"+.@Build+" ("+getd("Build_"+.@Build+"n$")+") salva."; set Zeny, Zeny-.@Save; close; case 2: if (.@Load) message strcharinfo(0),"Ira custar "+.@Load+" Zeny para carregar sua build."; set .@Build, Get_Menu(.@BuildCount); if (getd("Build_"+.@Build+"$")=="") { message strcharinfo(0),"No build info found."; close; } if (Zeny<.@Load) { message strcharinfo(0),"Zeny insulficiente."; close; } Load_Build(getd("Build_"+.@Build+"$")); message strcharinfo(0),"Build #"+.@Build+" carregada."; set Zeny, Zeny-.@Load; close; case 3: if (.@Rename) message strcharinfo(0),"Ira custar "+.@Rename+" Zeny para renomear a build."; set .@Build, Get_Menu(.@BuildCount); if (getd("Build_"+.@Build+"$")=="") { message strcharinfo(0),"No build info found."; close; } if (Zeny<.@Rename) { message strcharinfo(0),"Zeny insulficiente."; close; } message strcharinfo(0),"Escreva um novo nome para a Build #"+.@Build+" ("+getd("Build_"+.@Build+"n$")+")."; input getd("Build_"+.@Build+"n$"); message strcharinfo(0),"Build #"+.@Build+" renomeada."; set Zeny, Zeny-.@Rename; close; case 4: close; } function Get_Menu { set .@menu$,""; for(set .@i,1; .@i<=getarg(0); set .@i,.@i+1) set .@menu$, .@menu$+"Slot "+.@i+" ("+((getd("Build_"+.@i+"n$")=="")?"^777777empty":"^0055FF"+getd("Build_"+.@i+"n$"))+"^000000):"; return select(.@menu$); } function Save_Build { set .@s$,""; for(set .@i,13; .@i<19; set .@i,.@i+1) set .@s$,.@s$+readparam(.@i)+"|"; setd "Build_"+getarg(0)+"$", .@s$+StatusPoint; return; } function Load_Build { ResetStatus; explode(.@s$,getarg(0),"|"); for(set .@i,0; .@i<6; set .@i,.@i+1) statusup2 (.@i+13), atoi(.@s$[.@i])-1; set StatusPoint, atoi(.@s$[6]); return; } } OBS:ele funciona no cronus