Skip to content

Instantly share code, notes, and snippets.

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyQ5RHDvjEdyTDYNcBW+h818HtbVRg76794ct544acqwJ6lzc9Myj/6K/vlk0NSAmTb9DlhTUsQ8LozFejzst9lc874rnBNEaHOOFtLsp5YHTkwumBR5cZcSThlmfWPKUmRyFa49h0eJwKYnSSJqPss3JJ6Mi+EMM1IyXPIy3/w6RSK80QOKSysv08Gwm099tBDc9WfUvlhIYaps1gIh2HYFdv+9fX1Z1cnCTXcAc2n9sqZnMBUZPFmpNblzMPYQWNZcnoeOklOso11Z9NK2jxOPFHq13N51hFHPiGLQDMcJdpWSuskXl6vf2PYSEq3m15il1h8B3lGmvIk6sO9fFn
gtk:
ntdll.dll => /c/windows/SYSTEM32/ntdll.dll (0x7ffb5dab0000)
KERNEL32.DLL => /c/windows/System32/KERNEL32.DLL (0x7ffb5b8e0000)
KERNELBASE.dll => /c/windows/System32/KERNELBASE.dll (0x7ffb5a7e0000)
ADVAPI32.dll => /c/windows/System32/ADVAPI32.dll (0x7ffb5c4b0000)
msvcrt.dll => /c/windows/System32/msvcrt.dll (0x7ffb5c410000)
sechost.dll => /c/windows/System32/sechost.dll (0x7ffb5bb30000)
RPCRT4.dll => /c/windows/System32/RPCRT4.dll (0x7ffb5afd0000)
SHELL32.dll => /c/windows/System32/SHELL32.dll (0x7ffb5c560000)
cfgmgr32.dll => /c/windows/System32/cfgmgr32.dll (0x7ffb59dc0000)
#FREECIV SERVER COMMAND FILE, version 3.0.91-dev
# These are server options saved from a running freeciv-server.
rulesetdir multiplayer-m1
cmdlevel basic new
cmdlevel basic first
Easy
metaserver http://localhost:8080/freeciv-web/meta/metaserver
metamessage Longturn Game M1 | 1 turn per day | 80 players | 25000 tiles | 63% Land | Join now!
set aifill "80"
set airliftingstyle "DEST_UNLIMITED"
@zekoz
zekoz / fuzzier.js
Last active January 21, 2019 18:22
function fuzzy(plr) {
var me = client.conn.player_num;
var them = player_by_name(plr).playerno;
var on = false;
setInterval(function(){
if (!on) {
send_request(JSON.stringify({pid: packet_diplomacy_init_meeting_req, counterpart:them}));
on = true;
} else {
send_request(JSON.stringify({pid: packet_diplomacy_cancel_meeting_req, counterpart:them}));
local me = assert(find.player(11))
log.debug("%s", me)
local archers = assert(find.unit_type("Archers"))
log.debug("%s", archers)
function move_guys(tile)
for unit in me:units_iterate() do
if unit.utype.id ~= archers.id then
goto continue
end
freeciv-sdl2.html:1249 Invalid function pointer called with signature 'vi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)
printErr @ freeciv-sdl2.html:1249
emrun_printErr @ freeciv-sdl2.js:944673
nullFunc_vi @ freeciv-sdl2.js:12315
b18 @ freeciv-sdl2.js:938702
_update_unqueue @ freeciv-sdl2.js:183344
_gui_event_loop @ freeciv-sdl2.js:19019
_ui_main @ freeciv-sdl2.js:19397
_client_main @ freeciv-sdl2.js:84467
_main @ freeciv-sdl2.js:19277
Three state variables control climate change for each change type: current, accum, and level. At game start, current and
accum are set to 0, and level is set to map_size/500.
At each turn, current is set equal to the number of tiles that have the appropriate environmental upset effect. Accum has
current added to it and level subtracted, clipped to zero. Climate change occurs at probability 20*accum/map_size,
at which point level is incremented by map_size/1000. Accum * 5 tiles are transformed, preferring to make wet tiles wetter
and dry tiles drier.
The most simple place to put a scaling setting for climate change would be a multiplier for current. The client display
of climate change would still read correct rate and chance. An alternative way to adjust would be to initialize level to
#!/usr/bin/env python
# Usage:
# interleave.py full-list draft1 draft2 ...
#
# Prints interleaved drafts to stdout.
# Draft order goes by order passed as arguments.
#
# Input files should be simple text files with one string per line.
GAME 16
War at Sea: Team Island Alliances.
(Custom rules, settings, and concept by Pneu)
RULES/SETTINGS/DETAILS:
1. Each team member has sovereign control of their nation. But, since you are part of a team in a team game, you will be
expected to participate in "teamwork". Delegation and/or reassignment will happen for idlers/inactives.
2. Diplomacy will be disabled. Technology must be acquired through research, conquest, or theft. Transfer of gold is
forbidden.
3. Players start with 3 settlers, 3 workers, and 4 explorers.
Please be aware that this is a "retro" game that has rolled back community improvements to the multiplayer ruleset.