ArcEmu: [idea] Config Generator - ArcEmu

Jump to content

Toggle shoutbox Lastest Announcements

dfighter  : (07 December 2014 - 12:06 PM) Arcemu is in hibernation mode, please read http://arcemu.org/fo...showtopic=26903
dfighter  : (01 January 2013 - 05:56 PM) Arcemu wishes you all a happy new year!
Hasbro  : (12 September 2012 - 10:01 AM) Please excuse our outage from the web! Our web host had a major malfunction!
dfighter  : (01 September 2012 - 04:05 PM) Since the spam bots just don't want to stop, I've enabled admin verification when registering.
dfighter  : (23 January 2012 - 09:56 PM) Please note that from now on you will need to confirm your email on the wiki in order to edit it!
Hasbro  : (31 December 2011 - 12:50 PM) Happy New Years all!
Navid  : (26 December 2011 - 04:09 AM) Merry Christmas !!!!!! Happy holidays all :)
WAmadeus  : (24 December 2011 - 03:54 PM) Merry Christmas to all!
dfighter  : (24 December 2011 - 11:05 AM) The Arcemu team wishes y'all a Merry Christmukkah!
Hasbro  : (05 October 2011 - 12:53 PM) Looking for web designers for upcoming web related project. If you're interested in designing user interfaces contact me
dfighter  : (02 September 2011 - 03:47 PM) So who here wants vehicles in Arcemu? :P http://arcemu.org/fo...showtopic=25440
Hasbro  : (14 August 2011 - 03:25 PM) Join us on irc, grab an irc client and connect to irc.freenode.net join channel #arcemu /server irc.freenode.net:6667 /join #arcemu
jackpoz  : (03 August 2011 - 05:33 AM) to all Lua Engine (old one) users: please check http://arcemu.org/fo...showtopic=25274
Hasbro  : (20 May 2011 - 05:27 PM) Looking for people experienced with CMake configuration and setup! Contact me asap
Hasbro  : (15 May 2011 - 05:03 PM) ArcEmu is recruiting C++ programmers, contact Hasbro if interested.
paroxysm  : (03 May 2011 - 06:26 PM) Updated luabridge gossip example to describe the whole gossip creation process rather than just how to create menu. Gossip tutorial
paroxysm  : (23 April 2011 - 11:35 AM) Lua writers can refer to the Luabridge Tutorials section in the Wiki to learn how to write gossip code correctly.
Hasbro  : (20 April 2011 - 05:22 PM) Thank you for your continuous contribution of bug reports, we are working on them.
Hasbro  : (17 April 2011 - 03:20 AM) Please consider donating to support our bills. Donations can be sent using PayPal to donations@arcemu.org - Thank you for your support.
paroxysm  : (10 April 2011 - 12:43 AM) Refer to the Luabridge Tutorials section in the Wiki to learn the new syntax of luabridge.
Resize Shouts Area

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

[idea] Config Generator Anyone want to help?

#1 User is offline   qwertypie 

  • Member
  • Pip
  • Group: Members
  • Posts: 30
  • Joined: 15-August 09

Posted 09 October 2009 - 10:00 AM

I HAVE REALISED THIS SHOULD BE IN THE TOOLS/APPLICATIONS FORUM...OOPS SORRY

Im thinking of making a php webpage which can generate config files (world, logon, realms, optional etc) with a quick selection of options, eg you can type in a dns name and it will generate a config which is ready for your server to be public.

Maybe you could have a set of templates eg you could pick from a dropdown box "insta-80 funserver" and it will display a config which is good for funservers, or select "blizzlike" and it will display a config with default blizzlike settings.

It would obviously be more suited to beginners, but easy to use for advanced members too.
I would love help with this and any contributions you can make
0

#2 User is offline   qwertypie 

  • Member
  • Pip
  • Group: Members
  • Posts: 30
  • Joined: 15-August 09

Posted 09 October 2009 - 02:23 PM

Im putting together a html form for logon.conf now, then ill do the php

<?php
if($_GET['do'] == "generate") { 
?>
<html>
<head>
</head>
<body>
<LogonDatabase Hostname = "<?php echo $_POST["hostname"]; ?>"
               Username = "<?php echo $_POST["username"]; ?>"
               Password = "<?php echo $_POST["password"]; ?>"
               Name     = "<?php echo $_POST["dbname"]; ?>"
               Port     = "<?php echo $_POST["port"]; ?>"
               Type     = "1">
			   
<Listen Host = "<?php echo $_POST["lhost"]; ?>"
	ISHost = "<?php echo $_POST["ishost"]; ?>"
	RealmListPort = "<?php echo $_POST["rlport"]; ?>"
	ServerPort = "<?php echo $_POST["sport"]; ?>">

<LogLevel Screen = "<?php echo $_POST["port"]; ?>"
          File = "-1">
		  
<Client MinBuild = "10192"
        MaxBuild = "10314">
		
<LogonServer RemotePassword = "<?php echo $_POST["rempass"]; ?>"
             AllowedIPs = "<?php echo $_POST["ip"]; ?>"
             AllowedModIPs = "<?php echo $_POST["modip"]; ?>">
</body>
</html>
<?php	 
} else {
?>
<script language='javascript'>
function verifyMe(){
var msg='';

if(document.getElementById('hostname').value==''){
	msg+='- Hostname\n\n';}

if(document.getElementById('username').value==''){
	msg+='- Username\n\n';}

if(document.getElementById('password').value==''){
	msg+='- Password\n\n';}

if(document.getElementById('dbname').value==''){
	msg+='- Db Name\n\n';}

if(document.getElementById('port').value==''){
	msg+='- Port\n\n';}

if(!document.getElementById('type[0]').checked && !document.getElementById('type[1]').checked && !document.getElementById('type[2]').checked){
msg+='- Type\n\n';}

if(document.getElementById('lhost').value==''){
	msg+='- Host\n\n';}

if(document.getElementById('ishost').value==''){
	msg+='- IShost\n\n';}

if(document.getElementById('rlport').value==''){
	msg+='- Realmlist Port\n\n';}

if(document.getElementById('sport').value==''){
	msg+='- Server Port\n\n';}

if(document.getElementById('screen').value==''){
	msg+='- Screen LogLevel\n\n';}

if(document.getElementById('refresh').value==''){
	msg+='- Acc Refresh Time\n\n';}

if(document.getElementById('minpatch').value==''){
	msg+='- Min WoW Patch\n\n';}

if(document.getElementById('maxpatch').value==''){
	msg+='- Max WoW Patch\n\n';}

if(document.getElementById('rempass').value==''){
	msg+='- Logon Remotepass\n\n';}

if(document.getElementById('ip').value==''){
	msg+='- Allowed IP\'s\n\n';}

if(document.getElementById('modip').value==''){
	msg+='- Allowed ModIP\'s\n\n';}

if(msg!=''){
	alert('The following fields are empty or invalid:\n\n'+msg);
	return false
}else{
	return true }

}
</script>
<form name='Logon.conf' action='logon.php?do=generate' method='POST' enctype='application/x-www-form-urlencoded' onsubmit='return verifyMe();'>
<table class='table_form_1' id='table_form_1' cellspacing='0'>
	<tr>
		<td class='ftbl_row_1' ><LABEL for='hostname' ACCESSKEY='none' ><b style='color:red'>*</b>Hostname
		</td>
		<td class='ftbl_row_1a' ><input type='text' name='hostname' id='hostname' size='45' value='localhost'>
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_2' ><LABEL for='username' ACCESSKEY='none' ><b style='color:red'>*</b>Username
		</td>
		<td class='ftbl_row_2a' ><input type='text' name='username' id='username' size='45' value='root'>
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_1' ><LABEL for='password' ACCESSKEY='none' ><b style='color:red'>*</b>Password
		</td>
		<td class='ftbl_row_1a' ><input type='password' name='password' id='password' size='45' value=''>
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_2' ><LABEL for='dbname' ACCESSKEY='none' ><b style='color:red'>*</b>Db Name
		</td>
		<td class='ftbl_row_2a' ><input type='text' name='dbname' id='dbname' size='45' value='logon'>
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_1' ><LABEL for='port' ACCESSKEY='none' ><b style='color:red'>*</b>Port
		</td>
		<td class='ftbl_row_1a' ><input type='text' name='port' id='port' size='45' value='3306'>
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_2' ><b style='color:red'>*</b>Type
		</td>
		<td class='ftbl_row_2a' >
			Mysql <LABEL ACCESSKEY=''><input type='radio' name='type' id='type[0]' value='' CHECKED ></LABEL>&nbsp;
			PostgreSQL <LABEL ACCESSKEY=''><input type='radio' name='type' id='type[1]' value=''></LABEL>&nbsp;
			Oracle 10g <LABEL ACCESSKEY=''><input type='radio' name='type' id='type[2]' value=''></LABEL>&nbsp;
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_1' ><LABEL for='lhost' ACCESSKEY='none' ><b style='color:red'>*</b>Host
		</td>
		<td class='ftbl_row_1a' ><input type='text' name='lhost' id='lhost' size='45' value='0.0.0.0'>
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_2' ><LABEL for='ishost' ACCESSKEY='none' ><b style='color:red'>*</b>IShost
		</td>
		<td class='ftbl_row_2a' ><input type='text' name='ishost' id='ishost' size='45' value='0.0.0.0'>
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_1' ><LABEL for='rlport' ACCESSKEY='none' ><b style='color:red'>*</b>Realmlist Port
		</td>
		<td class='ftbl_row_1a' ><input type='text' name='rlport' id='rlport' size='45' value='3724'>
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_2' ><LABEL for='sport' ACCESSKEY='none' ><b style='color:red'>*</b>Server Port
		</td>
		<td class='ftbl_row_2a' ><input type='text' name='sport' id='sport' size='45' value='8093'>
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_1' ><LABEL for='screen' ACCESSKEY='none' ><b style='color:red'>*</b>Screen LogLevel
		</td>
		<td class='ftbl_row_1a' ><select name='screen' id='screen'>
			<option value='Minimum'>Minimum</option>
			<option value='Error'>Error</option>
			<option value='Detail'>Detail</option>
			<option value='Full' SELECTED >Full</option>
		</select>
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_2' ><LABEL for='refresh' ACCESSKEY='none' ><b style='color:red'>*</b>Acc Refresh Time
		</td>
		<td class='ftbl_row_2a' ><input type='text' name='refresh' id='refresh' size='45' value='600'>
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_1' ><LABEL for='minpatch' ACCESSKEY='none' ><b style='color:red'>*</b>Min WoW Patch
		</td>
		<td class='ftbl_row_1a' ><select name='minpatch' id='minpatch'>
			<option value='3.2.2a' SELECTED >3.2.2a</option>
			<option value='3.2.2'>3.2.2</option>
			<option value='3.2.0a'>3.2.0a</option>
			<option value='3.2.0'>3.2.0</option>
			<option value='3.1.3'>3.1.3</option>
			<option value='3.1.2'>3.1.2</option>
			<option value='3.1.1a'>3.1.1a</option>
			<option value='3.1.1'>3.1.1</option>
			<option value='3.1.0'>3.1.0</option>
			<option value='3.0.9'>3.0.9</option>
			<option value='3.0.8a'>3.0.8a</option>
			<option value='3.0.8'>3.0.8</option>
			<option value='3.0.3'>3.0.3</option>
			<option value='3.0.2'>3.0.2</option>
		</select>
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_2' ><LABEL for='maxpatch' ACCESSKEY='none' ><b style='color:red'>*</b>Max WoW Patch
		</td>
		<td class='ftbl_row_2a' ><select name='maxpatch' id='maxpatch'>
			<option value='3.2.2a' SELECTED >3.2.2a</option>
			<option value='3.2.2'>3.2.2</option>
			<option value='3.2.0a'>3.2.0a</option>
			<option value='3.2.0'>3.2.0</option>
			<option value='3.1.3'>3.1.3</option>
			<option value='3.1.2'>3.1.2</option>
			<option value='3.1.1a'>3.1.1a</option>
			<option value='3.1.1'>3.1.1</option>
			<option value='3.1.0'>3.1.0</option>
			<option value='3.0.9'>3.0.9</option>
			<option value='3.0.8a'>3.0.8a</option>
			<option value='3.0.8'>3.0.8</option>
			<option value='3.0.3'>3.0.3</option>
			<option value='3.0.2'>3.0.2</option>
		</select>
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_1' ><LABEL for='rempass' ACCESSKEY='none' ><b style='color:red'>*</b>Logon Remotepass
		</td>
		<td class='ftbl_row_1a' ><input type='password' name='rempass' id='rempass' size='45' value=''>
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_2' ><LABEL for='ip' ACCESSKEY='none' ><b style='color:red'>*</b>Allowed IP\'s
		</td>
		<td class='ftbl_row_2a' ><input type='text' name='ip' id='ip' size='45' value='127.0.0.1/24'>
		</td>
	</tr>
	<tr>
		<td class='ftbl_row_1' ><LABEL for='modip' ACCESSKEY='none' ><b style='color:red'>*</b>Allowed ModIP\'s
		</td>
		<td class='ftbl_row_1a' ><input type='text' name='modip' id='modip' size='45' value='127.0.0.1/24'>
		</td>
	</tr>
	<tr>
		<td colspan='2' align='right'><input type='submit' name='submit' value='Submit'>&nbsp;<input type='reset' name='reset' value='Reset'><br />
		</td>
	</tr>
</table>
</form>
<?php
}
?>


All dont except from dropdown and radial boxes
0

#3 User is offline   qwertypie 

  • Member
  • Pip
  • Group: Members
  • Posts: 30
  • Joined: 15-August 09

Posted 09 October 2009 - 03:14 PM

If anyone could skin this for me, as well, that would be great

Im not much good with that kinda thing
0

#4 User is offline   Doggie52 

  • arcemu feedback police
  • PipPipPip
  • Group: Members
  • Posts: 297
  • Joined: 09-October 08
  • Gender:Male
  • Location:Sweden
  • Interests:web designing, web programming, wow databases, game- and webservers
  • Server OS:Windows

Posted 15 January 2010 - 10:42 AM

Did you ever get anywhere with this? I think a lot of people would benefit from using such a tool - the idea of an online config-generator has been implemented in several other games with positive response.
0

#5 User is offline   Dzjhenghiz 

  • حشّاشين
  • Group: Contributor
  • Posts: 1,936
  • Joined: 07-June 08
  • Gender:Male
  • Location:2nd stone after the 3rd oase western sahara
  • Interests:M.C.S.E :- Minesweeper Consultant & Solitaire Expert
  • Server OS:Other

Posted 15 January 2010 - 10:49 AM

Lol well idk ... but it seems to me you do NOT need to be a rocket scientist to fill in the configs.

If you can not manage that even, then imo stop with wanting a own server.
Need Help With Arcemu ? ^^
Posted Image
Concordia res parvae crescunt In varietate concordia
Spoiler

0

#6 User is offline   Doggie52 

  • arcemu feedback police
  • PipPipPip
  • Group: Members
  • Posts: 297
  • Joined: 09-October 08
  • Gender:Male
  • Location:Sweden
  • Interests:web designing, web programming, wow databases, game- and webservers
  • Server OS:Windows

Posted 15 January 2010 - 10:58 AM

View PostDzjhenghiz, on 15 January 2010 - 10:49 AM, said:

Lol well idk ... but it seems to me you do NOT need to be a rocket scientist to fill in the configs.

If you can not manage that even, then imo stop with wanting a own server.

You don't need to be a scientist to configure a server, no, but anyone not perfectly capable of doing so will surely want some help. Why not give them the help instead of flaming them when they later come to our forum and ask us what to do?
0

#7 User is offline   Dzjhenghiz 

  • حشّاشين
  • Group: Contributor
  • Posts: 1,936
  • Joined: 07-June 08
  • Gender:Male
  • Location:2nd stone after the 3rd oase western sahara
  • Interests:M.C.S.E :- Minesweeper Consultant & Solitaire Expert
  • Server OS:Other

Posted 15 January 2010 - 11:04 AM

You as a moderator should know about the WIKI and the Flood of people coming here... imo

Nvm if u looked around you would have notice me is helping as one of the few here TYVM!


We have a WIKI
Need Help With Arcemu ? ^^
Posted Image
Concordia res parvae crescunt In varietate concordia
Spoiler

0

#8 User is offline   Doggie52 

  • arcemu feedback police
  • PipPipPip
  • Group: Members
  • Posts: 297
  • Joined: 09-October 08
  • Gender:Male
  • Location:Sweden
  • Interests:web designing, web programming, wow databases, game- and webservers
  • Server OS:Windows

Posted 15 January 2010 - 06:46 PM

I apologize, I did not mean to say you, specifically, were flaming users. I apologize if I insulted you, it was not my intention!

I am very well aware of the flood of users, and I am very well aware of the wiki's existence too. All I'm saying is that a config generator would be a good addition to what we offer first-time-users in order to get them up and running as quickly as possible - at the same time avoiding repetitive questions flooding the board.
0

#9 User is offline   HalestormXV 

  • The Ultimatum
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,031
  • Joined: 07-June 08
  • Gender:Male

Posted 16 January 2010 - 11:01 PM

This is an interesting idea - i think the basic principle wouldn't be to hard. It would simply require a few selectable choices as well as a few input boxes. I might look into doing something like this if i ever get time, however for now I advise anyone willing to try and work on this to do so as it would be beneficial.
**Owner of the Serenade of Sorrow Funserver**
My Most Recent Video: The Book of Kidou
Posted Image
0

#10 User is offline   Bob Herman 

  • Interested
  • PipPipPipPip
  • Group: Members
  • Posts: 452
  • Joined: 11-October 08
  • Gender:Male

Posted 17 January 2010 - 12:45 AM

I might give it a try if I have time. Do something nice with ajax ;)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users