• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

how go create god/gm in php?

I whipped this up and there could be some errors, but this would be the general outline of it.
PHP:
<?php
  mysql_connect("localhost", "(your mysql username)", "(your sql pass)"); 
  mysql_select_db("(your ot database name)");
  
	$AccID = " " //ID of account GM/GOD will be going on
	$GroupID = "6" //Group the player will be in (here i have 6 for GOD)
	$CharName = " "//Name of the GM/GOD your creating

	mysql_query("INSERT INTO `players` (`id`, `name`, `world_id`, `group_id`, `account_id`, `level`, `vocation`, `health`, `healthmax`, `experience`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `lookaddons`, `maglevel`, `mana`, `manamax`, `manaspent`, `soul`, `town_id`, `posx`, `posy`, `posz`, `cap`, `sex`, `lastlogin`, `lastip`, `save`, `skull`, `skulltime`, `rank_id`, `guildnick`, `lastlogout`, `blessings`, `balance`, `stamina`, `direction`, `loss_experience`, `loss_mana`, `loss_skills`, `loss_containers`, `loss_items`, `premend`, `online`, `marriage`, `promotion`, `deleted`, `description`)
	VALUES 
	(NULL, '$CharName', '0', '$GroupID', '$AccID', '1', '0', '150', '150', '0', '0', '0', '0', '0', '136', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '', '0', '0', '0', '151200000', '2', '100', '100', '100', '100', '100', '0', '0', '0', '0', '0', '');");
	?php>
 
you mean there is not tutorial for this.
what i mean in php is
that Geisor is a system that runs on PHP code
so how would i create a character using the geisor type
 
Back
Top