Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

init_players

by Unknown · 2005-04-24

recovered from the server

From the first post

Recovered from the archived server. This was never posted on the forum, so there is no thread behind it and no author post to quote — the attribution below comes from the plugin's own register_plugin() call where it has one.

Files

init_players.amxx Compiled Plugin 4 KB Download

Decompiled source reconstructed

init_players.amxx was published compiled only. This Pawn was recovered from the bytecode with Lysis — 64 lines. Strings, cvars and the plugin registration survive; local variable names do not. It is an approximation, not the author's file.

// Decompiled from init_players.amxx by Lysis.n// This is RECONSTRUCTED source, not the author's original: withoutn// debug symbols the variable names are lost and control flow isn// rebuilt from bytecode. Treat it as a readable approximation.nnnew g_var2d0;npublic client_authorized(_arg0)n{n	new var1 = 0;n	new var2 = 0;n	while (var2 < g_var2d0)n	{n		get_user_info(_arg0, 724[var2], var1, 7);n		18132[_arg0][var2] = str_to_num(var1);n		client_cmd(_arg0, "%s %d", 724[var2], 17620[var2]);n		var2++;n	}n	return 0;n}nnpublic client_disconnect(_arg0)n{n	new var1 = 0;n	while (var1 < g_var2d0)n	{n		client_cmd(_arg0, "%s %d", 724[var1], 18132[_arg0][var1]);n		var1++;n	}n	return 0;n}nnpublic plugin_cfg()n{n	new var2 = 0;n	sub_124(var2, "");n	format("init_players_variables.cfg", 127, "%s/%s", var2, "init_players_variables.cfg");n	new var3 = 0;n	new var4 = 0;n	new var5 = 0;n	var3++;n	while (0 < read_file("init_players_variables.cfg", var3, var4, "", _unused_temp_))n	{n		new var1;n		if (!equal(var4, "//", 2) && strlen(var4) > 0)n		{n			parse(var4, 724[g_var2d0], 31, var5, 7);n			17620[g_var2d0] = str_to_num(var5);n			g_var2d0 += 1;n		}n	}n	return 0;n}nnpublic plugin_init()n{n	register_plugin("Init Players", "0.1", "AMXX DoD Community");n	return 0;n}nnsub_124(_arg0, _arg1)n{n	return get_localinfo("amxx_configsdir", _arg0, _arg1);n}nn
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC