jezznarRox
-
Content Count
24 -
Joined
-
Last visited
Posts posted by jezznarRox
-
-
Hi,
Just wanted to share my mirror site for 20150601 Clean Ragnarok Client.
Originally from Nickyzai's site. Decided to share it because their HTTP link is dead.
It has 3 links in it and will be expanding it soon.
Report any dead link here. Thanks.
Regards,
Jess
-
Not sure if it's MAX_MAPINDEX or MAX_MAP_SIZE in source. maybe you can check it outSo for my instance mod package one of my ideals is to create an Sword Art Online mod via the instancing system.
What are the Instance limitations?
usually, the amount of time before an instance gets destroyed is declared in db/instances.txt, you start from there.Can a user "leave virtual reality of the instance, like taking the VR helm off" and come back into the instance?
not sure, usually, if you initiate an @reloadscript command all instance data are also removed.My ideas are they have a unique class they switch into upon entering the virtual reality instance, and be able to keep all progress, have players all dump into the same instance. Just don't know how to keep track of variables seeing as 'InstanceVars get deleted upon @reloadscript or server-restart.
and if there were timers for any specific events I'd be worried about that too, being able to freeze whatever script that has a timer when they logout of virtual reality instance (SAO mod)
Any of this possible like converting 'InstanceVars to permanent character variables?
'InstanceVar = CharVar;
Like this? That way there instance progressed could be saved in the virtual reality Instance for next enter on instance.
Tell me if I'm in the right direction here :/
-
It's bringing you to the installation process. Just comply with it. For more errors just post it here.
-
Hmmmm... alright.. I get your point. Guess Im going to have to find out how things happen in phpbb srcs
-
I feel good that people are using my scripts, I feel bad not getting any feedback on how to improve my stuff.
-
refactoring old scripts.
-
As the title says, does anyone know how? I haven't seen a guide anywhere for this.
~Jess
-
Make a floating npc then use diplicate
//edit
on the other this will not work if you want just any npc.
-
-
-
Well IMO, you have to decide how you want to implement this pvp ranking, do you want it always on? Or do you want it to trigger on a specific time of day with a specific duration?
-
since the question is why there is no mob spawning? i assumes the script stoped when mf_nogo throw the warning... CMIIW
Well that's what I was thinking about before but @@mrlongshen also said that he has taken the mapflag off and yet still the script doesn't work. From what I see, I think it's about the logical flow of the script. It will get stuck in the "while" statement OnInit. Then when a player interacts with the NPC, it will go through the while statement on loop, and if the player chooses to cancel anything, the cleanup part of the script will not be triggered anymore.
IMO, This could've worked without modifications if the script for the cleanup was separated as a floating event script but for my solution I chose to add a player timer instead
-
can't see where is error that cause no mobs spawning except for mapflag nogo (not sure that will stop the script to run again or stop entirely at that point), there is 2 nogo in the first post in code box except that i think the script will run as supposed to be... if you want you can try this one
IMO, the problem is how the whole thing is logically structured
-
Please try this. Not Tested.
adjust syntax if erroneous.
this will:
1. Wait for a person to go in before spawning monsters
2. attaches a player timer to the first person who goes in marking the start of the existence of the event FarmZone
3. When timer expires, deletest player timer, warps players out, cleans the map, announces to the whole server that it is already usable by other players
4. Still warp out players when they reach Item hunting limitprontera,164,172,5 script Farm Zone 4_F_JPN2,{function RandomizeItem;while( 1 ){mes "How can i help you ?";switch( select( "Information:Farm Items" )){case 1: mes "This is a Farm Zone."; mes "You are able to Hunt Monster inside this Room."; mes "Every Monster will award you random items."; next; mes "But there is some Condition.."; mes "You can only go in ^FF0000once every "+.RoomCleanMin+" minutes for 1 times.^000000"; mes "And Maximum of ^FF0000"+.MaxPlayers+" Players per "+.RoomCleanMin+" Minutes.^000000"; mes "Maximum Hunting Limit ^FF0000"+.MaxItemLimit+"^000000"; next; mes "There will be a ^FF0000Room Cleaning^000000 from time to time..."; mes "All players will be kicked out, it is your bad luck if you meet this."; mes "Delay will still apply even though you just go in for 1 Seconds.."; next; break;case 2: if( #HuntRoomDelay > gettimetick(2) ){ set .last,#HuntRoomDelay - gettimetick(2); set .@min, .last % ( 24 * 3600 ) % 3600 / (60); mes "Wait for ^FF0000"+.@min+" Minutes^000000."; close; }else if( getarraysize( .Hunter ) >= .MaxPlayers ){ mes "Currently the Room is Full. Please try again later."; close; }else{ if(!getmapusers(.Map$)) {//mrlongshen: Populate the map only when someone goes in and noone is in the map. monster .Map$,0,0,"[ Farm Zone ] Resident",-1,80,strnpcinfo(0)+"::OnNormalKill"; monster .Map$,0,0,"[ Farm Zone ] Guardian",-3,5,strnpcinfo(0)+"::OnBossKill"; addtimer .RoomCleanMin*60*1000, strnpcinfo(0)+"::OnFarmCleanUp"; //add player timer to when he clean up is done }//mrlongshen warp .Map$,0,0; set .Hunter[getarraysize( .Hunter )],strcharinfo(0); set #HuntRoomDelay,gettimetick(2) + ( .DelayMin * 60 ); set #FarmHunt,0; end; } }}end; //mrlongshenOnFarmCleanUp: //mrlongshen clean up algorithm deltimer strnpcinfo(0)+"::OnFarmCleanUp"; killmonster .Map$,"All"; if(getarraysize( .Hunter )) mapannounce .Map$,"[ Farm Zone ] : Room Clean Up now...All Users will be warped Out.",0; sleep2 3000; mapwarp .Map$,"prontera",155,181; deletearray .Hunter,getarraysize( .Hunter ); announce "[ Farm Zone ] : Farming Zone has been Cleaned up, another "+.MaxPlayers+" Players may go in now.",bc_blue; //tell people that the farm zone can now be used againend; //mrlongshenOnInit:// Maximum Player can join per X Minutes.set .MaxPlayers,2;// Adding X Minutes of Delay before can go in again.set .DelayMin,1;// Maximum Hunt Limit per round inside the Zone.set .MaxItemLimit,10;// Map that will be used in thos Zone.set .Map$,"guild_vs5";// Clear Map Every X Minutes.set .RoomCleanMin,15;// Mapflag Initializationsetmapflag .Map$,mf_nomobloot;setmapflag .Map$,mf_nomvploot;setmapflag .Map$,mf_nowarpto;setmapflag .Map$,mf_nochat;setmapflag .Map$,mf_novending;setmapflag .Map$,mf_nocommand,60;setmapflag .Map$,mf_nojobexp;setmapflag .Map$,mf_nobaseexp;end;OnNormalKill:RandomizeItem( 0,rand(1,5) );monster .Map$,0,0,"--ja--",-1,1,strnpcinfo(0)+"::OnNormalKill";end;OnBossKill:RandomizeItem( 1,rand(1,3) );monster .Map$,0,0,"--ja--",-3,1,strnpcinfo(0)+"::OnBossKill";end;// Function that used to Generate Random Itemsfunction RandomizeItem {set #FarmHunt,#FarmHunt + getarg(1);// Normal Monster in Zone Drops Listsif( getarg(0) == 0 ) setarray .ItemList[0],13989,14232,13517,7139,12033,12016,14534;// Normal Boss in Zone Drops Listsif( getarg(0) == 1 ) setarray .ItemList[0],14536,12912,12267,12266,14601,13830,13831,13832,13833;for( set .@i,1; .@i <= getarg(1); set .@i,.@i + 1 ){ getitem .ItemList[ rand( getarraysize( .ItemList ) ) ],1; }deletearray .ItemList,getarraysize( .ItemList );dispbottom "[ Farm Zone ] : Farmed "+#FarmHunt+" / "+.MaxItemLimit+" Items";if( #FarmHunt >= .MaxItemLimit ){ message strcharinfo(0),"Limit Reached , you may join again later."; sleep2 2000; warp "prontera",155,181; }return;} }
mrlongshen reacted to this -
Thanks for the insight. Changing this to a WIPi like the idea but honestly i would drag xxxxRO to the recycle bin in 0.5 seconds. Just use the rand command with numbers and ask the user to enter it in a set amount of time...........
-
Just take off
setmapflag .Map$,mf_nogo;
it's not a valid mapflag -
Point taken. Then for now configuring a considerable triggering time is what's needed.Quite unusual approach.
Looks fresh, but I'm not sure if I could get used to it as a player. If this would appear too frequent - it would be annoying, but if only 1 check on whole session - bot owner could just enter code and use bot after that.
@all, thanks for the insights, I'm actually thinking of ways to extend this
-
Well, it's a floating script/npc. And Yes that's about it. It's not really frustrating, there's always an option to reward people in-game or give them votepoints or whatever it is that can give them a good feeling for complying.So it's like, in game npc prompts you to go to web, web will give you code, and you enter it ingame?
Definately, I would stop playing if that's happening, its frustating to open web browser and do several steps to just play.
The bot check happens the moment you login then next bot check is done after x amount time that is configurable within the script, then the same amount of time for consecutive successful verification. So if you logout, you're gonna have to do go over it again.Indeed, any antibot method that requires that lot of interaction is frustrating, and by the way I'm guessing that this is only done on login, right? so what stops the player from doing everything manual and then running the bot after passing the check?
-
Project: Anti-bot Security System
Hi Hercules Community!
Finally, I have finished my very first Project: Anti-bot Security System. This is not your average antibot because it is not only done in-game, it is a system that puts together in-game scripts, encryption, Google's very own reCaptcha, and interaction with the FluxCP.
Tested fully compatible with Hercules.
Features:
1. Impenetrable in-game bot check-
[*]Even if a botter figures out how the algorithm works he still has to go through a few more steps
2. FluxCP integration
-
[*]Easy integration with FluxCP
[*]Can be used with other CP's but will not be majorly supported for fixes
3. Google's reCaptcha v2
- [*]Google boasts of it's bot detection, reCaptcha v2! Check all about it here:
Video Coming Soon!
Some Screenies:
When everything goes well:
When somethig goes wrong or when someone tries to bypass something:
Interested? Feel free to contact me. -
[*]Even if a botter figures out how the algorithm works he still has to go through a few more steps
I use Harmony, worth Change to Gepard?
in General Server Support
Posted
try HuskyShield, they got 1 month trial. Huskyshield.org