Jump to content
  • 0

[help] BAN list? possible


Question

11 answers to this question

Recommended Posts

  • 0
Posted

i use google chrome to. and here i can find it meby need other internet? leave country come to here and try?

 

Yeah, sure tomorrow I will fly to Netherlands only for try to connect to dragon-network. Stay there I will answer tomorrow !

  • 0
Posted

There is one part related to Java (custom //ban command), and a big part related to PHP.

 

To be simple, when you ban someone ingame, it write his name in a banlist table, with reason etc. PHP read your table "banlist", like it could read your table "heroes" if you had a "heroes" page.

 

----

 

THE FOLLOWING IS JUST A GUIDELINE. YOU HAVE TO MAKE THE IMPROVED COMMAND AND THE PHP PART OBVIOUSLY.

 

It could work with a command like

 

//ban characterName Duration ReasonofBan

 

It's an accurate command which need 3 parameters, but you can cut it to the CharacterName if you got a PHP administration panel (which mean more work for my part lol, so I prefer java).

 

The command kick and ban the guy ofc, but write a SQL command in a banlist table (table you improved/created if no exists).

 

Once you got your registered banned character, you have to code a PHP code in your website (make a page for it like your exemple...) to put in in format.

 

I invite you to search guides on this forum about "show heroes on website" and such things.

 

Dunno if I was rly clear lol, but just don't hope someone make it for you. It's rly not hard, but it asks some time if you want to do a clean thing.

 

I coded this thing myself (except the improved //ban command), so it's possible.

 

-----

 

Some more things :

 

- find the command //ban easily using the powerful "search" from eclipse. It's in admincommandhandlers, or whatever depending of your chronicle.

- search definitively a "heroe" or any guide which pick stats from database to call it on webpage. It's the easiest way to understand.

  • 0
Posted

There is one part related to Java (custom //ban command), and a big part related to PHP.

 

To be simple, when you ban someone ingame, it write his name in a banlist table, with reason etc. PHP read your table "banlist", like it could read your table "heroes" if you had a "heroes" page.

 

----

 

THE FOLLOWING IS JUST A GUIDELINE. YOU HAVE TO MAKE THE IMPROVED COMMAND AND THE PHP PART OBVIOUSLY.

 

It could work with a command like

 

//ban characterName Duration ReasonofBan

 

It's an accurate command which need 3 parameters, but you can cut it to the CharacterName if you got a PHP administration panel (which mean more work for my part lol, so I prefer java).

 

The command kick and ban the guy ofc, but write a SQL command in a banlist table (table you improved/created if no exists).

 

Once you got your registered banned character, you have to code a PHP code in your website (make a page for it like your exemple...) to put in in format.

 

I invite you to search guides on this forum about "show heroes on website" and such things.

 

Dunno if I was rly clear lol, but just don't hope someone make it for you. It's rly not hard, but it asks some time if you want to do a clean thing.

 

I coded this thing myself (except the improved //ban command), so it's possible.

 

-----

 

Some more things :

 

- find the command //ban easily using the powerful "search" from eclipse. It's in admincommandhandlers, or whatever depending of your chronicle.

- search definitively a "heroe" or any guide which pick stats from database to call it on webpage. It's the easiest way to understand.

 

Thank you for help me i will try this one! Thanks!

i use FREYA :)

 

Edit: mm lil to hard for me i will try find already shared meby a website or some one have tuts for it:D:)

if some one knows how edit or create it add me on msn laminota@hotmail.com

  • 0
Posted

As I'm insanely cute today, I will share you the mechanism of mine. Some things you must know :

 

- Do whatever you can/want with this source, I don't give any support, except the short explanation I will do right now.

- Clever people will find it usefull, lazy will find it useless. Your problem seriously lol.

- It's surely not the most optimized way to do it, and I really don't give a fock.

- It's made for IL, so try to adapt it if you need.

- In Epilogue++ you got a punishement system, no idea how far it's advanced.

- I used the veerrryyy old C3 website to make this feature (deutch words in it, I don't even know the translation, just suposed it).

 

First, a picture :

 

sanstitresxr.th.jpg

 

You can see my Navicat stuff, with a table named "site_eg". It's a table I specially created to stock all punishements features. It didn't existed at all before. When you open it you got many columns : id, reason, victim_name, etc.

 

In background, you got the formated result on my homemade/stocked website.

 

Now the source code, you can dl too at this address : http://www.4shared.com/file/NdQUBN_W/eg_online.html

 

		<?php 

			$verbindung=MYSQL_CONNECT($dbhost,$dbuser,$dbpass) or die ("mySQL database have a problem ; please come back later.");
			MYSQL_SELECT_DB($dbname) or die ("mySQL database have a problem ; please come back later.");

			$get_eg="SELECT * FROM site_eg ORDER by id DESC";
			$eg=MYSQL_QUERY($get_eg);

			//Initialisation pour une valeur de départ non null pour rentrer dans la boucle
			$row = "0";

			while ($row != null) 
			{
				$row = mysql_fetch_array($eg);

				if ($row["punishement"] == 1)		$row["punishement"]="Chatban";
				elseif ($row["punishement"] == 2)	$row["punishement"]="Jail";
				elseif ($row["punishement"] == 3)	$row["punishement"]="Delevel";
				elseif ($row["punishement"] == 4)	$row["punishement"]="Decreased enchant";
				elseif ($row["punishement"] == 5)	$row["punishement"]="Character ban";
				elseif ($row["punishement"] == 6)	$row["punishement"]="Account ban";

				if ( $row != null )
				{
					echo "<tr>";
						echo "<td>" .prettydatenews($row["postdate"]). "</td>";
						echo "<td>" .$row["victim_name"]. "</td>";
						echo "<td>".$row["punishement"]. "</td>";
						echo "<td>".$row["time"]. "</td>";
						echo "<td>".$row["reason"]. "</td>";
					echo "</tr>";
				}
			}
			echo "</table>";

			function prettydatenews($uglydate) 
			{
				//  Format de la date (DD-MM-YYYY pour les news de l'accueil).
				return date("d.m.Y", mktime(0,0,0,substr($uglydate, 5, 2),substr($uglydate, 8, 2),substr($uglydate, 0, 4)));
			}
		?>

 

Some explanations : we log to the db, with password W and login Y and we do a SQL request on it : SELECT * FROM site_eg ORDER by id DESC, which means basically : select all the damn data from my table "site_eg" and order it via their "id"

 

After it's a question of format... It creates a table, and do all the shit clean lol. For example, it renames the punishement, which is basically a system of 6 numbers per a "name". Punishement 1 = name1, punishement 2 = name2,...

 

There will have no graphics at all like mine. If you read my sources from the 4shared place, you can see clearly I used headers and footers in php where I do some calls to my .css stylesheet. As I didn't share my whole site (Maxcheaters will rip it in some months perhaps, if my server is launched a day, who know lol), you miss all graphical part, which isn't the issue in your problem, we agree :D.

 

---

 

Basically, it's all for the "read". Now you need the "write" code, aka java commandhandlers heavy modifications :D.

 

 

  • 0
Posted

this what iam looking for!!!!!

 

Very Thanksss really

 

/lock please

solved.

locked.

Guest
This topic is now closed to further replies.


  • Posts

    • ⚡ Weekend Stock Refresh! Fast order fulfillment is active. Get Gemini Pro Advanced + Google One cloud storage activated on your own personal email within minutes.
    • New Release World & atmosphere A complete dynamic weather system has arrived, with Clear, Light Rain, Rain, Heavy Rain, Storm, Snow, and Windy presets. Rain and snow react to roofs, wind moves foliage, lightning illuminates storms, exposed ground becomes wet and develops puddles, and snow builds up and melts over time. Weather includes Low to Ultra quality levels and advanced controls for precipitation, wind, cloud cover, lightning, surface wetness, puddles, and snow. The game server can also select or restore the current weather while local quality settings continue to control rendering cost. The weather can be controlled from the server with custom packets. For more details use Shift+Alt+P. Enhanced lighting now allows authored lamps, fires, and other light sources to illuminate towns and interiors. Lights can pulse, flicker, blink, and strobe, flames produce warm dynamic light, and lamps display depth-aware halos. Remastered emissive surfaces are now supported, beginning with illuminated windows in Giran that glow and cast light into their surroundings. Broadcasting Towers now use their correct original scale and animated rings and glow effects. Map, quests & navigation A complete quest journal has been added, with active and completed quests, expandable stages, descriptions, requirements, item progress, quest inventory integration, location controls, and quest cancellation. Quest objectives now appear through flashing minimap and world-map markers, an overhead directional guide, a notification button beside chat, and rotating quest symbols above eligible NPCs. Server-directed radar markers now work across the live minimap and world map, including the original overhead guidance effect and arrival behavior. The original tutorial system now works, including scrollable tutorial pages, animated illustrations, the flashing question button, tutorial links, and movement, camera, pickup, and sit/rest progression events. Server-opened town maps now display their original artwork and the supplied player marker. Shops, storage & items Personal, clan, castle, and freight warehouses now work, including deposits, withdrawals, stack quantities, fees, weight and capacity previews, tooltips, and the original warning and empty-storage dialogs. Account freight now works through the original recipient picker and delivery window, allowing items to be sent to another character on the same account. Multisell exchanges now work, with paged recipe lists, product details, required materials, quantity selection, warnings, and server-backed completion. Manor seed purchasing is now supported through the shop interface, including availability and pricing. Inventory items can now be dragged to the trash button and destroyed after the appropriate warning or quantity prompt. The original in-game calculator now works with mouse and keyboard input. Community The Community Board is now available from the system menu or Alt+B, with Home, Favorites, Region, Clan, Memo, Mail, and Friends sections, retained navigation, forms, scrolling, minimization, and server-provided pages. Characters, cameras & events Striders and Wyverns now render as fully animated mounts with the rider attached correctly. Striders remain ground-based, while Wyverns support three-dimensional flight. Characters now enter a proper falling state after high drops or airborne dismounts, with falling animations and server-authoritative landing and fall-damage handling. Players can now sit on authored world chairs using the correct sit, wait, and stand animations. Server-driven special camera sequences now work, including target tracking, interpolation, duration, widescreen bars, and restoration to the normal camera. GM camera mode and server-authorized ///fly movement are now supported. The original 102-second Kamael teaser sequence has been restored with its complete slideshow, transitions, panning artwork, localized subtitles, and narration. Hats, masks, circlets, and other hair accessories now use their authored head placement and correctly adjust the character's hairstyle. Timed server confirmation dialogs, short-duration status effects, regeneration previews, and the seasonal Christmas Seal presentation are now supported. Interface & performance Character creation has been refined with corrected description wrapping, clipping, layout, and name-entry presentation. Tutorial and NPC dialog windows now use polished proportional scrollbars, improved HTML layout, and correctly sized illustrations and controls. A new independent 3D render-resolution setting offers Native, 720p, 900p, 1080p, 1440p, and 4K choices while keeping the window, HUD, text, and FermaUI at native resolution. Major rendering optimizations reduce unnecessary work in local lighting, shadows, visibility, exposure, bloom, post-processing, and GPU diagnostics. Download from the launcher you have installed, or at https://updates.fermata.gg/ if you don't have the launcher. Fermata Light Engine Preview All lights can be baked in the client, shipped to the users, and exported and imported as .femlight files.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..