mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 10:33:47 -05:00
Easter event
This commit is contained in:
@@ -114,13 +114,14 @@ if is_production:
|
||||
#maps["desertland"]["key"]="jayson_desertland_copy"
|
||||
pass
|
||||
|
||||
game_version=819
|
||||
game_version=820
|
||||
SALES=4+5+388+5101+125/20 #donation+manual+macos+steam+sales
|
||||
update_notes=[
|
||||
"Easter: Egg Hunt, Wabbit Chase",
|
||||
"Last Update [April 1st]",
|
||||
"New zones, items and monsters from the community!",
|
||||
"Github PR: Content patch 1 #166",
|
||||
"Github PR: Item Changes #165",
|
||||
"Github PR: Adjust achievements #150",
|
||||
]
|
||||
ip_to_subdomain={ #IMPORTANT: SPECIAL PAGE RULES ARE NEEDED: https://dash.cloudflare.com/b6f5a13bded5fdd273e4a1cd3777162d/adventure.land/page-rules - uss1 / eus1 was best
|
||||
"35.187.255.184":"asia1",
|
||||
|
||||
@@ -21,8 +21,6 @@ drops={
|
||||
#[0.0002,"gift0"],
|
||||
#[0.004,"gift1"],
|
||||
#[0.0004,"redenvelope"],
|
||||
#[0.00005,"goldenegg"],
|
||||
#[0.009,"open","eastereggs"], #originally 0.009
|
||||
#[0.0001,"redenvelopev2"],
|
||||
#[0.0001,"redenvelopev3"],
|
||||
#[0.00005,"greenenvelope"],
|
||||
|
||||
+6
-8
@@ -954,7 +954,7 @@ sprites={
|
||||
]
|
||||
},
|
||||
"robots1":{
|
||||
"file":"/images/tiles/monsters/robots_walkin_B_1.png",
|
||||
"file":"/images/tiles/monsters/robots_walkin_B_1.png?v=2",
|
||||
"rows":2,
|
||||
"columns":4,
|
||||
"matrix":[
|
||||
@@ -980,14 +980,12 @@ sprites={
|
||||
]
|
||||
},
|
||||
"spiderqueens":{
|
||||
"file":"/images/tiles/monsters/giantspider_shadow_1.png",
|
||||
"rows":4,
|
||||
"columns":1,
|
||||
"file":"/images/tiles/monsters/giantspider.png",
|
||||
"rows":2,
|
||||
"columns":2,
|
||||
"matrix":[
|
||||
["spiderbl"],
|
||||
["spiderbr"],
|
||||
["spiderp"],
|
||||
["spiderr"],
|
||||
["spiderbl","spiderbr"],
|
||||
["spiderp","spiderr"],
|
||||
]
|
||||
},
|
||||
"emblems":{
|
||||
|
||||
+19
-14
@@ -1,30 +1,35 @@
|
||||
<div class='code'>
|
||||
show_json(data);
|
||||
</div>
|
||||
<div class="code">show_json(data);</div>
|
||||
|
||||
<p>Paragraph</p>
|
||||
|
||||
<p><span class='rlabel' onclick="render_function_reference($(this).html())">item_grade</span> <- reference label</p>
|
||||
<p><span class="rlabel" onclick="render_function_reference($(this).html())">item_grade</span> <- reference label</p>
|
||||
|
||||
<p><span class='jlabel' onclick="code_eval('show_json('+$(this).html()+')')">G.classes</span> <- json label</p>
|
||||
<p><span class="jlabel" onclick="code_eval('show_json('+$(this).html()+')')">G.classes</span> <- json label</p>
|
||||
|
||||
<p><span class='elabel' onclick="code_eval('smart_move("goo")')">Move There</span> <- execute label</p>
|
||||
<p><span class="elabel" onclick="code_eval('smart_move("goo")')">Move There</span> <- execute label</p>
|
||||
|
||||
<p><span class='dlabel'>"hit"</span> <- display</p>
|
||||
<p><span class="dlabel">"hit"</span> <- display</p>
|
||||
|
||||
<p><span class='hlabel'>Hint:</span> <- hint</p>
|
||||
<p><span class="hlabel">Hint:</span> <- hint</p>
|
||||
|
||||
<div style='padding: 0px; border: 4px solid #2B5B89; display: inline-block; font-size: 0px'><img src="http://lh3.googleusercontent.com/BbENUEvYLaLvbHPdk9uWDkMwhh59v4Sd_V_wex6whMDiLr9h2ZDCmDN-i5XxTehHbnaRQPrnd-msEgSsjaQrLWxCNQz6uvvA=s400" style='height: 200px'/></div>
|
||||
<div style="padding: 0px; border: 4px solid #2b5b89; display: inline-block; font-size: 0px">
|
||||
<img
|
||||
src="http://lh3.googleusercontent.com/BbENUEvYLaLvbHPdk9uWDkMwhh59v4Sd_V_wex6whMDiLr9h2ZDCmDN-i5XxTehHbnaRQPrnd-msEgSsjaQrLWxCNQz6uvvA=s400"
|
||||
style="height: 200px"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div><span class='eiteml'></span> Left bottom corner indicates the item level</div>
|
||||
<div><span class="eiteml"></span> Left bottom corner indicates the item level</div>
|
||||
|
||||
<a href="https://github.com/kaansoral/adventureland/tree/master/cli" target="_blank">Here[GitHUB]</a>
|
||||
<a href="https://github.com/kaansoral/adventureland/tree/main/scripts/cli" target="_blank">Here[GitHUB]</a>
|
||||
|
||||
<p>
|
||||
<span class='spsnowman'></span> The snowman spawns every hour. Snowman is a collaborative boss, everyone who participates gets a reward. You can only deal 1 damage to Snowman - better participate at each spawn for the common good!
|
||||
<span class="spsnowman"></span> The snowman spawns every hour. Snowman is a collaborative boss, everyone who
|
||||
participates gets a reward. You can only deal 1 damage to Snowman - better participate at each spawn for the common
|
||||
good!
|
||||
</p>
|
||||
|
||||
<script>
|
||||
$(".eiteml").html(item_container({skin:G.items.wblade.skin},{name:"wblade",level:12}));
|
||||
$(".eiteml").html(item_container({ skin: G.items.wblade.skin }, { name: "wblade", level: 12 }));
|
||||
$(".spsnowman").html(sprite("snowman"));
|
||||
</script>
|
||||
</script>
|
||||
|
||||
@@ -1,45 +1,51 @@
|
||||
<p>CLI is a command line game client for Adventure Land. It's currently in a very early stage, but the base integration is there. As the developer, from my perspective, allowing the game to be run from the command line is very risky. While Adventure Land is a coding and botting game, there's a just exchange between the use of server resources and the use of one's own gaming hardware. For this reason, the CLI comes with a cost. It's 29 <a href="https://adventure.land/shells" target="_blank">shells</a> per week for now. You can purchase time with the following command: (Up to 4 weeks) <span style='color:#A3A3A3'>Ps. Characters up to Level 70 can run freely!</span></p>
|
||||
<p>
|
||||
CLI is a command line game client for Adventure Land. It's currently in a very early stage, but the base integration
|
||||
is there. As the developer, from my perspective, allowing the game to be run from the command line is very risky.
|
||||
While Adventure Land is a coding and botting game, there's a just exchange between the use of server resources and the
|
||||
use of one's own gaming hardware. For this reason, the CLI comes with a cost. It's 29
|
||||
<a href="https://adventure.land/shells" target="_blank">shells</a> per week for now. You can purchase time with the
|
||||
following command: (Up to 4 weeks) <span style="color: #a3a3a3">Ps. Characters up to Level 70 can run freely!</span>
|
||||
</p>
|
||||
|
||||
<div class='code'>
|
||||
parent.api_call('cli_time');
|
||||
<div class="code">parent.api_call('cli_time');</div>
|
||||
|
||||
<p>
|
||||
To use the CLI, copy the files from:
|
||||
<a href="https://github.com/kaansoral/adventureland/tree/main/scripts/cli" target="_blank">Here[GitHUB]</a> - and copy
|
||||
common_functions.js to the same folder. (You can find it by typing /codes as a Chat command in the Steam or Mac
|
||||
client).
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The node packages you need to install are: <span class="dlabel">jsdom</span> <span class="dlabel">request</span> and
|
||||
<span class="dlabel">node-localstorage</span>
|
||||
</p>
|
||||
|
||||
<div class="code">
|
||||
npm install jsdom request node-localstorage // edit the characters array in master.js to include your own characters
|
||||
// edit auth to be: show_json(parent.Cookies.get("auth")) // then run your characters! node --expose-gc master.js
|
||||
</div>
|
||||
|
||||
<p>To use the CLI, copy the files from: <a href="https://github.com/kaansoral/adventureland/tree/master/cli" target="_blank">Here[GitHUB]</a> - and copy common_functions.js to the same folder. (You can find it by typing /codes as a Chat command in the Steam or Mac client).</p>
|
||||
<p>
|
||||
JSDom performance is enough for light operations, but since it's an emulation, it's too slow for computations like
|
||||
smart_move, for this reason, the CLI has a system to move computation out, and communicate with messages, you can use
|
||||
this system too:
|
||||
</p>
|
||||
|
||||
<p>The node packages you need to install are: <span class='dlabel'>jsdom</span> <span class='dlabel'>request</span> and <span class='dlabel'>node-localstorage</span></p>
|
||||
|
||||
<div class='code'>
|
||||
npm install jsdom request node-localstorage
|
||||
// edit the characters array in master.js to include your own characters
|
||||
// edit auth to be: show_json(parent.Cookies.get("auth"))
|
||||
// then run your characters!
|
||||
node --expose-gc master.js
|
||||
<div class="code">
|
||||
// in master.js character['CharacterName'].worker.postMessage({a:1,b:2}); // in character.js
|
||||
dom.window.CLI_IN.push({a:1,b:2}); // in Code character.on("clim",function(data){ // data is {a:1,b:2} });
|
||||
</div>
|
||||
|
||||
<p>JSDom performance is enough for light operations, but since it's an emulation, it's too slow for computations like smart_move, for this reason, the CLI has a system to move computation out, and communicate with messages, you can use this system too:</p>
|
||||
<p>
|
||||
You can either use the `cli_require` function inserted into the jsdom instance to request packages inside your game
|
||||
Code, or, you can use the same method to handoff objects or packages to the jsdom instance:
|
||||
</p>
|
||||
|
||||
<div class='code'>
|
||||
// in master.js
|
||||
character['CharacterName'].worker.postMessage({a:1,b:2});
|
||||
// in character.js
|
||||
dom.window.CLI_IN.push({a:1,b:2});
|
||||
// in Code
|
||||
character.on("clim",function(data){
|
||||
// data is {a:1,b:2}
|
||||
});
|
||||
<div class="code">
|
||||
// in character.js, find "dom.window.cli_require=require;" // After that, add your own thing to insert
|
||||
dom.window.my_thing={a:1,b:2}; // in your Code var my_thing=null; if(game.cli) // best to make your code work on all
|
||||
platforms, not only CLI { my_thing=parent.my_thing; // dom.window is the parent of Code } // Warning: the scoping
|
||||
could get funky, best to just offload things to character.js, or master.js as described above, move data in as "clim"
|
||||
messages
|
||||
</div>
|
||||
|
||||
<p>You can either use the `cli_require` function inserted into the jsdom instance to request packages inside your game Code, or, you can use the same method to handoff objects or packages to the jsdom instance:</p>
|
||||
|
||||
<div class='code'>
|
||||
// in character.js, find "dom.window.cli_require=require;"
|
||||
// After that, add your own thing to insert
|
||||
dom.window.my_thing={a:1,b:2};
|
||||
// in your Code
|
||||
var my_thing=null;
|
||||
if(game.cli) // best to make your code work on all platforms, not only CLI
|
||||
{
|
||||
my_thing=parent.my_thing; // dom.window is the parent of Code
|
||||
}
|
||||
// Warning: the scoping could get funky, best to just offload things to character.js, or master.js as described above, move data in as "clim" messages
|
||||
</div>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 52 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 31 KiB |
+1
-1
@@ -174,7 +174,7 @@ var events = {
|
||||
valentines: false,
|
||||
pinkgoo: 0, // every N minutes - 60
|
||||
snowman: 20 * 60, // 1200 normally - 60 - at sprocess_game_data
|
||||
egghunt: 0, // every N minutes - 60
|
||||
egghunt: 60, // every N minutes - 60
|
||||
halloween: false,
|
||||
// RANDOM
|
||||
goblin: false,
|
||||
|
||||
@@ -276,6 +276,11 @@ function sprocess_game_data() {
|
||||
D.drops.maps.global.push([0.0005, "candycane"]);
|
||||
D.drops.maps.global.push([0.0001, "open", "xN"]);
|
||||
}
|
||||
|
||||
if (events.egghunt) {
|
||||
D.drops.maps.global.push([0.000005, "goldenegg"]);
|
||||
D.drops.maps.global.push([0.009, "open", "eastereggs"]);
|
||||
}
|
||||
}
|
||||
|
||||
function calculate_xvalue(arr, rec, divide, mult) {
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user