<?xml version="1.0"?>
<rss version="2.0"><channel><title>Programming Latest Topics</title><link>https://www.ascensiongamedev.com/forum/35-programming/</link><description>Programming Latest Topics</description><language>en</language><item><title>Client league of legends</title><link>https://www.ascensiongamedev.com/topic/7352-client-league-of-legends/</link><description><![CDATA[<p>
	Hi, I have a question: how much would a programmer charge me to build an Intersect client similar to the one used in League of Legends?
</p>
]]></description><guid isPermaLink="false">7352</guid><pubDate>Wed, 04 Nov 2026 10:04:14 +0000</pubDate></item><item><title>Intersect Management</title><link>https://www.ascensiongamedev.com/topic/6932-intersect-management/</link><description><![CDATA[<p>
	Hello everyone,<br />
	 
</p>

<p>
	I am delighted to share my new web platform with you, designed to allow you to manage your Intersect game server directly from your browser!<br />
	 
</p>

<p>
	Please note that this is not a tool for creating quests, items, or maps. Instead, it is a server management tool that operates using the Intersect server's API. Over time, I have optimized all the API calls I could to provide a pleasant and fast user experience.<br />
	 
</p>

<p>
	I have combined all the latest knowledge and optimization advancements into this project!<br />
	 
</p>

<p>
	<strong>But what can you do with it, in practical terms?</strong><br />
	 
</p>

<p>
	Information : It's not a server hosting but an plateform linked to your game server api for people who don't know how to use api and more.<br />
	<br />
	Languages supported is : French and English more can comes soon.
</p>

<p>
	 
</p>

<p>
	Similar to Intersect Tool, you will be able to:<br />
	 
</p>

<p>
	- Manage user accounts (ban, unban, mute, unmute) and access the necessary details for game management.<br />
	- Manage player characters (view details, inventory, character bank, and the ability to send/retrieve a certain number of items from their inventory). You can also manage character variables.<br />
	- Manage player guilds (details and member lists, for now).<br />
	- Manage  server variables.<br />
	- View items, NPCs, etc., in your game (without the ability to make modifications; this is a work in progress).
</p>

<p>
	 
</p>

<p>
	All of these features will be available at its launch in a few hours/days. However, there is more to know.
</p>

<p>
	 
</p>

<p>
	I will offer team-based server management, and for this, I have two offers: a free one, which includes one server and one additional team member besides yourself, and a paid annual subscription for one server and four additional team members.
</p>

<p>
	 
</p>

<p>
	A "more" option will be available on a case-by-case basis (via Discord and PM) starting at €2/month to add one server or one team member to your account.
</p>

<p>
	 
</p>

<p>
	Subscription offers are provided via payment links with the secure "Stripe" platform, ensuring that no data is transmitted to the platform. Furthermore, if you already have an "Easy Team" subscription, it applies to all your servers, allowing you to combine the "Easy Team" and "More" offers as needed.
</p>

<p>
	 
</p>

<p>
	The surprise with Intersect Management is the arrival of the WordPress extension. This extension will enable you to synchronize your game users with a web-based WordPress account, perfect for a cash shop. Yes, the extension will allow you to use the WordPress plugin "WooCommerce" to create your shop, where you can sell anything you want as long as you configure your products correctly.
</p>

<p>
	 
</p>

<p>
	The extension is currently undergoing testing and will be available later.
</p>

<p>
	 
</p>

<p>
	All the news related to Management and Tools and future Intersect-related tools will be available at:<br />
	<a href="https://intersect-connect.tk/" rel="external nofollow">https://intersect-connect.tk/</a>
</p>

<p>
	 
</p>

<p>
	As for Intersect Management itself, you can access it at this address (under maintenance):<br />
	<a href="https://manage.intersect-connect.tk/" rel="external nofollow">https://manage.intersect-connect.tk/</a>
</p>

<p>
	 
</p>

<p>
	It's important to note that, while the features are currently the same for both the free and paid offers, with the arrival of future tools and especially the WordPress extension, certain functionalities in these tools will be restricted to users of the paid offer.
</p>

<p>
	 
</p>

<p>
	I hope to see many of you using this new tool. If you have any questions, feel free to ask them here, in private, or on the Discord server (which you can find in my signature or on the Intersect Connect website).
</p>

<p>
	 
</p>

<p>
	Stay tuned for more information and updates! Enjoy your game !
</p>
]]></description><guid isPermaLink="false">6932</guid><pubDate>Fri, 29 Sep 2023 21:02:39 +0000</pubDate></item><item><title>Intersect Proxy</title><link>https://www.ascensiongamedev.com/topic/6933-intersect-proxy/</link><description><![CDATA[<p>
	Hello everyone !
</p>

<p>
	 
</p>

<p>
	For several months, Intersect has now requested the use of HTTPS to be able to use the Intersect API for your website or other existing management applications (such as: <a href="https://www.ascensiongamedev.com/topic/6584-intersect-tools/" rel="">Intersect Tools,</a> <a href="https://www.ascensiongamedev.com/topic/6932-intersect-management/?do=getLastComment" rel="">Intersect Management</a>, <a href="https://www.ascensiongamedev.com/topic/5997-admin-tool/" rel="">Admin Tool</a> or <a href="https://www.ascensiongamedev.com/topic/5840-intersect-cms-unleashed-23/?tab=comments#comment-50268" rel="">Intersect CMS</a>).
</p>

<p>
	 
</p>

<p>
	So I created a small script which will allow you to use your server and its API from outside, using the script itself is simple, generating the SSL certificate and the key is something else, but you can easily find your answers from Google or even ChatGPT.
</p>

<p>
	 
</p>

<p>
	You need to have Nodejs and your Intersect server installed on your machine (Windows, Linux) of course. You need also generate a SSL files (certificat.pem and private-key.pem).<br />
	<br />
	Replace the data in the .env file with yours and then launch the script with "node index" and your api is ready to use. You can see more detail in the <a href="https://github.com/Intersect-Connect/intersect-proxy" rel="external nofollow">Github </a>repository, if you have some question, answer below, or use private messages.<br />
	<br />
	And.. you can download the script here <span>: <a href="https://github.com/Intersect-Connect/intersect-proxy/releases/tag/1.0.0" rel="external nofollow">https://github.com/Intersect-Connect/intersect-proxy/releases/tag/1.0.0</a><br />
	<br />
	Enjoy for your next possibility !</span>
</p>
]]></description><guid isPermaLink="false">6933</guid><pubDate>Sat, 30 Sep 2023 21:21:04 +0000</pubDate></item><item><title>Intersect Connect new website !</title><link>https://www.ascensiongamedev.com/topic/6421-intersect-connect-new-website/</link><description><![CDATA[<p>
	Update at 2023-09-27
</p>

<p>
	 
</p>

<p>
	Hello everyone,
</p>

<p>
	 
</p>

<p>
	Intersect Connect is evolving, a brand new site has been created for this occasion.
</p>

<p>
	 
</p>

<p>
	So, what's the beauty of all this?
</p>

<p>
	 
</p>

<p>
	The first is Intersect Management, an online service that will allow you to manage your game server with your team. The service will offer all the functionalities linked to the Intersect API and will be compatible with most old and new versions.
</p>

<p>
	 
</p>

<p>
	The Store changes URL and goes under <a href="https://store.intersect-connect.tk/" rel="external nofollow">https://store.intersect-connect.tk/</a>
</p>

<p>
	<br />
	The new site remains available at this address:<br />
	<a href="https://intersect-connect.tk/" rel="external nofollow">https://intersect-connect.tk/</a>
</p>

<p>
	 
</p>

<p>
	Intersect Management will offer a free and paid plan for teams, this service will be launched soon (if some want to test the features already available and the one that I could not test due to lack of data in my test database, can already appear in replies or private messages.)
</p>

<p>
	 
</p>

<p>
	This will be a long-term project.
</p>

<p>
	 
</p>

<p>
	I hope to have your support and see you using Intersect Management.
</p>

<p>
	Enjoy !<br />
	-----------------------------------------------------<br />
	<br />
	Hello everyone,
</p>

<p>
	 
</p>

<p>
	I present to you my latest application "Intersect Connect".
</p>

<p>
	 
</p>

<p>
	This application will allow game developers to publish their games on the platform in a simple and free way, to allow players to download and play many games in one place, the application requires no registration for players as well as developers.
</p>

<p>
	 
</p>

<p>
	<img alt="5a7ac5315749ae387939c3667c8c6615.png" class="ipsImage" data-ratio="70.00" height="574" style="height:auto;" width="1000" data-src="https://s3.us-east-2.amazonaws.com/ascensiongamedev/filehost/5a7ac5315749ae387939c3667c8c6615.png" src="https://www.ascensiongamedev.com/applications/core/interface/js/spacer.png" />
</p>

<p>
	 
</p>

<p>
	<img alt="e8e40ecd8118aae0c8616f865395b362.png" class="ipsImage" data-ratio="62.70" height="522" style="height:auto;" width="1000" data-src="https://s3.us-east-2.amazonaws.com/ascensiongamedev/filehost/e8e40ecd8118aae0c8616f865395b362.png" src="https://www.ascensiongamedev.com/applications/core/interface/js/spacer.png" />
</p>

<p>
	 
</p>

<p>
	The features of the application are basic for the moment:
</p>

<ul>
	<li>
		list of games,
	</li>
	<li>
		List of games installed,
	</li>
	<li>
		Install a game,
	</li>
	<li>
		Uninstall a game,
	</li>
	<li>
		View game news
	</li>
</ul>

<p>
	 
</p>

<p>
	No game update functionality has been implemented and is not currently planned, so you will need to have your own means of updating.
</p>

<p>
	 
</p>

<p>
	If you are a developer, you can watch the submission tutorial for your games by create an account <a href="https://intersect-connect.tk/" rel="external nofollow">here</a>
</p>

<p style="text-align:center;">
	 
</p>

<p style="text-align:center;">
	<a href="https://intersect-connect.tk/connect/ic-setup.exe" rel="external nofollow">Download Intersect Connect now !</a>
</p>
]]></description><guid isPermaLink="false">6421</guid><pubDate>Wed, 16 Feb 2022 13:47:21 +0000</pubDate></item><item><title>Introduction to cracking</title><link>https://www.ascensiongamedev.com/topic/3531-introduction-to-cracking/</link><description><![CDATA[
<p>
	Computer security and hacking has always been an interest of mine. I am a game developer and I find game hacking very interesting. I thought I might as well share some knowledge with you guys. I will mostly be concentrating on game cheats and piracy. This is strictly for educational purposes. A lot of you are creating games, I think its helpful to know how users are going to be cheating or cracking any copyright protection you might have.
</p>

<p>
	 
</p>

<p>
	For the first tutorial I will concentrate on cracking games.  If you want to get into this field there is many websites that release small programs called "Crack Me's". These programs are typically small with a single button that requires the user to enter a serial key or register the program. While these programs are a lot smaller then a full AAA game, the core concept of how to break the protection is the same. Real programs will most likely have multiple layers of protection and checks for if they are being debugged (I might go into how to get past that in a later tutorial).
</p>

<p>
	 
</p>

<p>
	<span style="font-size:26px;"><strong>Skills Needed (You do not need these but they will help). </strong></span>
</p>

<p>
	A general knowledge of programming and how software works in general will help
</p>

<p>
	Basics of reading assembly
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	For this tutorial I will be using a crackme that dtm created from <a href="https://0x00sec.org/t/crackme-norepls-part-1/2974" rel="external nofollow">https://0x00sec.org/t/crackme-norepls-part-1/2974</a>. Go ahead and download this program. So when you open the program you will notice that the save functionality is disabled. The window bar also shows that is in currently unregistered.
</p>

<p>
	 
</p>

<p>
	<img alt="WqQoRjV.png" class="ipsImage" height="202" src="https://i.imgur.com/WqQoRjV.png" width="605" /></p>

<p>
	 
</p>

<p>
	Are goal is to unlock the full version of this program. If you go to "About -&gt; Register" You will get the following window.
</p>

<p>
	 
</p>

<p>
	<img alt="ZtO0lu7.png" class="ipsImage" height="207" src="https://i.imgur.com/ZtO0lu7.png" width="273" /></p>

<p>
	 
</p>

<p>
	This is normally where you would go to the website of the game or the program and buy the software to get the key to put in below. But of course we are not going to be buying any software. So lets look into how we are going to crack this.
</p>

<p>
	 
</p>

<p>
	<span style="font-size:26px;"><strong>Software Needed</strong></span>
</p>

<p>
	<span style="font-size:26px;"><strong><a href="https://x64dbg.com/#start" rel="external nofollow">https://x64dbg.com/#start</a></strong></span>
</p>

<p>
	This is what we call a dynamic debugger. It allows us to run a program while viewing the assembly and modifying it. 
</p>

<p>
	 
</p>

<p>
	<span style="font-size:26px;"><strong>Lets Crack it!</strong></span>
</p>

<p>
	So open up <strong>X32 dbg</strong> and you should see the following. <span style="color:#e74c3c;"><strong>(Make sure you dont open X64 dbg by accident). </strong></span>
</p>

<p>
	 
</p>

<p>
	<img alt="RVr17qI.png" class="ipsImage" height="532" src="https://i.imgur.com/RVr17qI.png" width="1000" /></p>

<p>
	 
</p>

<p>
	Go "File -&gt; Open" and select the Crack Me that you downloaded. It should be called "NoREpls1.1.exe". Your screen should now look like this:
</p>

<p>
	 
</p>

<p>
	<img alt="YLnF5RG.png" class="ipsImage" height="545" src="https://i.imgur.com/YLnF5RG.png" width="1000" /></p>

<p>
	 
</p>

<p>
	What happening is that X32dbg has run your program and set a breakpoint in the start of the program. What you are seeing is the assembly of the running program. While this is interesting, it is a lot to digest and if like me you cannot fluidly read assembly code we probably want to narrow it down a bit instead of reading the entire program. So we want to keep running the program and not get interrupted anymore to do this press the "Execute till return" button. This will allow our program to run freely until we tell it to stop.
</p>

<p>
	 
</p>

<p>
	<img alt="HJW7gYF.png" class="ipsImage" height="89" src="https://i.imgur.com/HJW7gYF.png" width="629" /></p>

<p>
	 
</p>

<p>
	Once you do this you should see the program has now launched, switch to the CrackMe and go back to the register menu.
</p>

<p>
	 
</p>

<p>
	<img alt="ZtO0lu7.png" class="ipsImage" height="207" src="https://i.imgur.com/ZtO0lu7.png" width="273" /></p>

<p>
	 
</p>

<p>
	We want to see what happens when this button is pressed, as the program should run the logic to check if the serial key is valid. So go ahead and leave the serial key box blank and press "Register". You should now see the following dialog box.
</p>

<p>
	 
</p>

<p>
	<img alt="weEZxFt.png" class="ipsImage" height="211" src="https://i.imgur.com/weEZxFt.png" width="268" /></p>

<p>
	 
</p>

<p>
	Looks like our serial number wasn't good. Which makes sense as we did not enter anything. Ok, so now we know the flow. You press the register button it (presumably) checks if the serial key is valid and then pops a message box telling you it is not. So now that we have this information we can go ahead and modify the program to accept our blank serial. We can now narrow down what we are looking for. We know that the check is done when you are in the Registration menu. We see a "Registration Failed" message. So lets search the assembly code to see if we can find that string anywhere, if we can this is probably the section of code that handles the registration.
</p>

<p>
	 
</p>

<p>
	Go back in 32dbg and right click on the assembly window and search for "String References"
</p>

<p>
	 
</p>

<p>
	<img alt="wb8YHkW.png" class="ipsImage" height="750" src="https://i.imgur.com/wb8YHkW.png" width="712" /></p>

<p>
	 
</p>

<p>
	Wait for the new screen to finish loading (Loading bar on bottom of window). We want to search for the string "Registration Failed". Do this by typing those words into the search field at the bottom. Once you have put in your search it should the main window to show you your results. Notice that we only have 1 result with "Registration Failed". That is great! We have found the section of assembly that shows that we had a bad serial.
</p>

<p>
	 
</p>

<p>
	<img alt="LEqn6Tx.png" class="ipsImage" height="542" src="https://i.imgur.com/LEqn6Tx.png" width="1000" /></p>

<p>
	 
</p>

<p>
	Once you see this window, double click on the "push norepl1..." text indicated by the 3rd red box above. You should now see this window. 
</p>

<p>
	 
</p>

<p>
	<img alt="3UdD51t.png" class="ipsImage" height="544" src="https://i.imgur.com/3UdD51t.png" width="1000" /></p>

<p>
	 
</p>

<p>
	Notice that the assembly window is now showing you the code that has to do with the registration failing. This is great! We have narrowed down our search a bit. But this is for the failure case. I wonder if we can find the success case. Try scrolling up a bit to see if anything handles the success clause.
</p>

<p>
	 
</p>

<p>
	<img alt="T44d04a.png" class="ipsImage" height="422" src="https://i.imgur.com/T44d04a.png" width="1000" /></p>

<p>
	 
</p>

<p>
	Great! It looks like just a tiny bit up we see the text "Registration Successful". I have highlighted the logic that handles checking whether the serial key is valid or not. This is the point where knowing a bit of assembly is nice to know. It looks like if call something called "test al,al". This checks to see if the values match if they <strong>do not </strong>match it will set ZF to 1. You can see more about this command here:
</p>

<p>
	 
</p>

<p>
	<a href="https://en.wikipedia.org/wiki/TEST_(x86_instruction)" rel="external nofollow">https://en.wikipedia.org/wiki/TEST_(x86_instruction)</a>
</p>

<p>
	 
</p>

<p>
	You can see in the examples that it checks a value and then runs a JE operation.
</p>

<p>
	 
</p>

<p>
	<a href="http://unixwiz.net/techtips/x86-jumps.html" rel="external nofollow">http://unixwiz.net/techtips/x86-jumps.html</a>
</p>

<p>
	 
</p>

<p>
	This jumps to the value given if ZF is equal to 1. This means if the test call does not match the values correctly it will jump to the address "1014B9". I have highlighted the jump below. 
</p>

<p>
	 
</p>

<p>
	<img alt="FKibfaY.png" class="ipsImage" height="422" src="https://i.imgur.com/FKibfaY.png" width="1000" /></p>

<p>
	 
</p>

<p>
	So if we look at this we see that if the two values passed to test do not match it runs the registration failed code. Interesting, we know that the test call is not going to pass because we do not know the correct serial key. There is many ways that we can make it go into the success case instead.
</p>

<p>
	 
</p>

<p>
	We could switch the jump statement to jump to the address "001014BC" instead on failure. This is the success path. This way when we fail it will actually run the success code. A even simple way is reading the JE instruction. It says "Jump if equal". If we look at the same page we can see another command "Jump if not equal". This means that it will jump only if the serialize matches instead of when it doesnt match. This means that every case will pass except for the correct values. That sounds great! So lets change it.
</p>

<p>
	 
</p>

<p>
	To do this we double click on the jump line and change the instruction from JZ to JNE then hit Ok.
</p>

<p>
	 
</p>

<p>
	<img alt="pxKiWkp.png" class="ipsImage" height="562" src="https://i.imgur.com/pxKiWkp.png" width="1000" /></p>

<p>
	 
</p>

<p>
	Hit cancel on the next box that pops up with the push value. You should now see that the instruction is changed. 
</p>

<p>
	 
</p>

<p>
	<img alt="m3XrhTc.png" class="ipsImage" height="453" src="https://i.imgur.com/m3XrhTc.png" width="1000" /></p>

<p>
	 
</p>

<p>
	Great! So now when we click the Register box it should succeed with any value but the correct one. Lets try it out, go back to the CrackMe put any value in the input box and press "Register" 
</p>

<p>
	 
</p>

<p>
	<img alt="53yYepX.png" class="ipsImage" height="317" src="https://i.imgur.com/53yYepX.png" width="272" /></p>

<p>
	 
</p>

<p>
	Looks like it worked! It will now except any value for the serial and has unlocked the full version. 
</p>

<p>
	 
</p>

<p>
	<img alt="o9BZ9Qe.png" class="ipsImage" height="202" src="https://i.imgur.com/o9BZ9Qe.png" width="253" /></p>

<p>
	 
</p>

<p>
	You can now save files and use the full version functionality, 
</p>

<p>
	 
</p>

<p>
	<span style="font-size:26px;"><strong>Writing Exe</strong></span>
</p>

<p>
	So we have unlocked the full program, but we do not want to go through this process every time that we run it. We may also want to give the unlocked version to other people. To do this go to "Plugins -&gt; Scylla"
</p>

<p>
	 
</p>

<p>
	<img alt="FbclsgR.png" class="ipsImage" height="76" src="https://i.imgur.com/FbclsgR.png" width="634" /></p>

<p>
	 
</p>

<p>
	Once in this window, select the program that you are running then press the "Dump" button to save the exe.
</p>

<p>
	 
</p>

<p>
	<img alt="lqp15wd.png" class="ipsImage" height="645" src="https://i.imgur.com/lqp15wd.png" width="585" /></p>

<p>
	 
</p>

<p>
	You can now write the new executable and replace the old one. You can now give out a version that will accept any serial!
</p>

<p>
	 
</p>

<p>
	<span style="font-size:26px;"><strong>Homework</strong></span>
</p>

<p>
	Done with this and want to do more? Try making the application register on startup instead of going into the menu.
</p>

<p>
	Try playing with other ways to unlock the serial other then the JNE instruction.
</p>

<p>
	Try changing the messages or text in the program!
</p>

<p>
	 
</p>

<p>
	Try a different crack me! The site linked has plenty. 
</p>
]]></description><guid isPermaLink="false">3531</guid><pubDate>Sat, 29 Dec 2018 20:28:16 +0000</pubDate></item><item><title>Multiplayer movement speed</title><link>https://www.ascensiongamedev.com/topic/4821-multiplayer-movement-speed/</link><description><![CDATA[<p>
	I need some help with the concept of limiting movement speed for multiplayer games. 
</p>

<p>
	Current this is my server code (Java)
</p>

<pre>
<code>case "2":
                            player.movePlayer(Integer.parseInt(data[1]));
                            sendPackets(packets.updatePlayerPos(player));
                            break;</code></pre>

<p>
	This receives the request for a player movement update and then sends the client the new movement coords.
</p>

<p>
	 
</p>

<p>
	This is the client code (GDScript)
</p>

<pre>
<code>func _input(event):
	#move up
	if Input.is_key_pressed(KEY_W):
		client.sendPacket(pDef.movePlayer(1))
	#move left
	elif Input.is_key_pressed(KEY_A):
		client.sendPacket(pDef.movePlayer(2)) 
	#move down
	elif Input.is_key_pressed(KEY_S):
		client.sendPacket(pDef.movePlayer(3))
	#move right
	elif Input.is_key_pressed(KEY_D):
		client.sendPacket(pDef.movePlayer(4))</code></pre>

<p>
	This chunk of code sends the server the request for a movement change when a button is down, of course this sends the server this packet as fast as your fps.
</p>

<p>
	 
</p>

<p>
	I want to regulate speed on the server side. I cannot think of a way to accomplish this. 
</p>

<p>
	Im not asking for exact code, just concepts. I want to be able to limit speed by an arbitrary value. 
</p>

<p>
	 
</p>

<p>
	Thank you for any help!
</p>]]></description><guid isPermaLink="false">4821</guid><pubDate>Thu, 26 Mar 2020 03:31:50 +0000</pubDate></item><item><title>Duplicating items in intersect (Or how to test/hack Intersect and other games security)</title><link>https://www.ascensiongamedev.com/topic/4551-duplicating-items-in-intersect-or-how-to-testhack-intersect-and-other-games-security/</link><description><![CDATA[<p>
	This post is going to introduce people to the basics of getting started with hacking intersect. It will show you some of the tools needed, and how to put them to good use. This is just scraping the surface of what is possible. If you are interested in this topic you should try reading up on reverse engineering and c#.
</p>

<p>
	 
</p>

<p>
	Tutorial:
</p>

<p>
	<a href="https://www.ascensiongamedev.com/resources/filehost/43ecff66a3fe2a66c781afc51f0f4c4e.pdf" rel="">https://www.ascensiongamedev.com/resources/filehost/43ecff66a3fe2a66c781afc51f0f4c4e.pdf</a>
</p>

<p>
	 
</p>

<div class="ipsEmbeddedVideo">
	<div>
		<iframe allowfullscreen="" frameborder="0" height="270" width="480" data-embed-src="https://www.youtube.com/embed/loPyMsx99t0?feature=oembed"></iframe>
	</div>
</div>

<p>
	 
</p>]]></description><guid isPermaLink="false">4551</guid><pubDate>Wed, 08 Jan 2020 18:47:13 +0000</pubDate></item><item><title>Stub</title><link>https://www.ascensiongamedev.com/topic/4541-stub/</link><description><![CDATA[<p>
	Ignore
</p>]]></description><guid isPermaLink="false">4541</guid><pubDate>Mon, 06 Jan 2020 17:19:49 +0000</pubDate></item><item><title>How is the password encrypted in MYSQL?</title><link>https://www.ascensiongamedev.com/topic/3947-how-is-the-password-encrypted-in-mysql/</link><description><![CDATA[
<p>
	Im building a Node.JS web application and trying to fix the login authentication.
</p>

<p>
	Currently looking at the mysql database and can see SALT and Password.
</p>

<p>
	 
</p>

<p>
	How is the password being hashed?
</p>

<p>
	Password+Salt?
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">3947</guid><pubDate>Sat, 08 Jun 2019 15:42:04 +0000</pubDate></item><item><title>Setting up MySQL database and website interaction</title><link>https://www.ascensiongamedev.com/topic/3975-setting-up-mysql-database-and-website-interaction/</link><description><![CDATA[
<p>
	I don't really know what exactly I am looking for so I am hoping someone here knows how this works together.
</p>

<p>
	 
</p>

<p>
	I am working to port everything for Revamped over to using a MySQL database instead of flat files.  Currently I have XAMPP setup and running Apache and MySQL modules on my computer.  I do not have a database setup (yet), and am working on a basic schema for it.
</p>

<p>
	 
</p>

<p>
	The client and server both work, but I am not really sure how to make the server work on a test server...like where does it go, and how to start it?  I would like to set the client up so it checks the status of the server on the website, then is able to connect to the server when it is up and running like normal.
</p>

<p>
	 
</p>

<p>
	Possibly show the players online on the test website at some point...but I want to stick with the basics of getting some interaction working at this time and am lost on what to do.
</p>
]]></description><guid isPermaLink="false">3975</guid><pubDate>Tue, 18 Jun 2019 18:47:58 +0000</pubDate></item><item><title>XML help</title><link>https://www.ascensiongamedev.com/topic/3893-xml-help/</link><description><![CDATA[<p>
	Is anyone good at XML and C#? Would anyone be able to help or create a program to read and compare xml documents?
</p>]]></description><guid isPermaLink="false">3893</guid><pubDate>Mon, 13 May 2019 17:36:26 +0000</pubDate></item><item><title>OBD2PY</title><link>https://www.ascensiongamedev.com/topic/3883-obd2py/</link><description><![CDATA[<p>
	Project is being restarted in the upcoming weeks. All old information was migrated to post 2 of this topic. I will update this post again once the project has resumed.
</p>]]></description><guid isPermaLink="false">3883</guid><pubDate>Mon, 06 May 2019 18:58:00 +0000</pubDate></item><item><title>[PHP/PDO] IntersectCMS, problem with hashing password ..?</title><link>https://www.ascensiongamedev.com/topic/3787-phppdo-intersectcms-problem-with-hashing-password/</link><description><![CDATA[
<p>
	Hello everyone <span><img alt=":)" data-emoticon="" height="20" src="https://www.ascensiongamedev.com/uploads/emoticons/12_slight_smile.png" srcset="https://www.ascensiongamedev.com/uploads/emoticons/12_slight_smile@2x.png 2x" title=":)" width="20" /> !<br /><br />
	I'm doing a little project for this community, having a WebSite for your own game server !</span><br />
	This CMS use my own base code for other CMS game website and work like a charm, I just edit it for make working with Intersect / MySQL ( And maybe SQLite too if i'm motivate to do sqlite jdbc connection ).<br /><br /><span>But I'm a bit frustate about something..,</span><br /><br />
	I have a problem about my login form ( B-E code ) exactly about hashing password result.,<br />
	If my password in clear is : Dragon123 and my Salt is : 357EF1FF2A9A5EAF893CBCE985FE667ACB1547669761E7CDBD0483DC43E0C188<br />
	It's making the hash form like this = Dragon123357EF1FF2A9A5EAF893CBCE985FE667ACB1547669761E7CDBD0483DC43E0C188<br />
	Right ?<br />
	My Password collumn saying me, the result it's : 7DE02F71146E0BA0B33BFB7BBA8C99A258DEEF71FD83C401F5CD240C2A1F8352<br /><br />
	I have try to go here : <a href="https://passwordsgenerator.net/sha256-hash-generator/" rel="external nofollow">https://passwordsgenerator.net/sha256-hash-generator/</a> and do my clear password + Salt. ( cf <span>: </span>Dragon123357EF1FF2A9A5EAF893CBCE985FE667ACB1547669761E7CDBD0483DC43E0C188 )<br />
	and getting an other hash : 309407CFBF0798BB31795E88384B4482F2A296C54CA1FEB8AD52A7AFCA5B0CCA<br />
	You can try it .. and you can see it's not the same result / hashing.<br />
	So here it's my first problem and after read the docs by <span><span><a contenteditable="false" data-ipshover="" data-ipshover-target="https://www.ascensiongamedev.com/profile/1-jcsnider/?do=hovercard" data-mentionid="1" href="https://www.ascensiongamedev.com/profile/1-jcsnider/" rel="">@jcsnider</a> ( <a href="https://www.freemmorpgmaker.com/docs/en/Advanced_Topics/Database.html" rel="external">https://www.freemmorpgmaker.com/docs/en/Advanced_Topics/Database.html</a> ) No doubt about the password encryption ...</span></span><br /><br />
	it's in PHP/PDO.<br />
	Here it's my page about the connection (asking if value are correct and be able to logon the site)<span>:</span><br />
	 
</p>

<div class="ipsSpoiler" data-ipsspoiler="">
	<div class="ipsSpoiler_header">
		<span>Spoiler</span>
	</div>

	<div class="ipsSpoiler_contents">
		<p>
			&lt;?PHP<br />
			  <br />
			if(isset($_POST['submit']) &amp;&amp; ($_POST['submit']=="login" || $_POST['submit']=="LOGIN" || $_POST['submit']=="Login")) <br />
			{<br />
			    if(!empty($_POST['userid']) &amp;&amp; !empty($_POST['userpass']) &amp;&amp; checkAnum($_POST['userid']) &amp;&amp; checkAnum($_POST['userpass'])) <br />
			    {<br />
			        $stmt = $SQL_PLAYER-&gt;prepare('SELECT Id,Name,Salt,Password,Email <br />
			                                      FROM  users <br />
			                                      WHERE  Name = :name');<br />
			 // I PREPARE MY SELECT FOR THE SQL COMMAND ' :name ' is my pdo var for the execute command more security reason.<br />
			        $stmt-&gt;execute(['name' =&gt; $_POST['userid']]);<br />
			        $stmt_r = $stmt-&gt;rowCount(); // Getting the row of the select if something match ?<br />
			        $fetch = $stmt-&gt;fetch(); // Get all value storage in memory/cache <br />
			        $hash = hash('sha256', $_POST['userpass'].$fetch['Salt']); // Try to hash my clear password ( enter in the web textbox with my Salt ( we get the salt with my fetch ) we correctly hashing it in SHA256.<br />
			        if ($hash === $fetch['Password'])  // We do the comparasion about my recent hash and the stored password hash stored in database<br />
			        {<br />
			            echo 'Work!!!!'; // Tryed to look if connected ...<br />
			// Connecté<br />
			            if($stmt_r&gt;0) //get my value if the connection is good ( having a matching value )<br />
			              {<br />
			            $getAdmin = $stmt-&gt;FetchObject(); // Start a Session for other settings ...<br />
			            $_SESSION['user_id'] = $getAdmin-&gt;Id;<br />
			            $_SESSION['user_name'] = $getAdmin-&gt;Name;<br />
			            $_SESSION['user_admin'] = $getAdmin-&gt;Web_Admin;<br />
			            $_SESSION['user_email'] = $getAdmin-&gt;Email;<br />
			            $updateIP = $SQL_PLAYER-&gt;query("UPDATE users SET Web_Ip='".($_SERVER['REMOTE_ADDR'])."' WHERE Id='".$getAdmin-&gt;Id."'");<br />
			              }<br />
			        }<br />
			    }<br />
			}
		</p>
	</div>
</div>

<p>
	<br />
	And as you could see, I do the same procedure... but not working, someone know why ..? <br />
	- Arius
</p>
]]></description><guid isPermaLink="false">3787</guid><pubDate>Mon, 25 Mar 2019 20:57:24 +0000</pubDate></item><item><title>Mi p&#xE1;gina web / My web page</title><link>https://www.ascensiongamedev.com/topic/3558-mi-p%C3%A1gina-web-my-web-page/</link><description><![CDATA[
<p>
	Hola a todos, he abierto hace unos días mi propia página web, <a href="http://khaikaa.com" rel="external nofollow">http://khaikaa.com</a>. En ella podréis encontrar algunos programas y juegos desarrollados por mí. Actualmente hay 3 disponibles:
</p>

<p>
	 
</p>

<p>
	CPJutsu: Mi propio programa de edición de imágenes. Es una herramienta que sirve para cambiar las paletas de color de spritesheets de manera rápida y cómoda.
</p>

<p>
	 
</p>

<p>
	HLA: Mi propio gestor de torneos de pokémon go. Administra una pequeña base de datos en la que podrás registrar jugadores, crear torneos, apuntar a los jugadores en los torneos y darle puntos a los participantes.
</p>

<p>
	 
</p>

<p>
	Snake Worlds: El clásico juego de Snake hecho a mi manera.
</p>

<p>
	 
</p>

<p>
	Iré subiendo más programas y mejorando los que ya están subidos a medida que vaya teniendo tiempo libre. Podéis descargarlos y usarlos cuando queráis. Un saludo
</p>

<p>
	 
</p>

<p>
	----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
</p>

<p>
	 
</p>

<p>
	Hi everybody, I just made my own website, <a href="http://khaikaa.com." rel="external nofollow">http://khaikaa.com.</a> You'll find some programs and games developed by me there. There are 3 at the momment:
</p>

<p>
	 
</p>

<p>
	CPJutsu: My own picture edition program. It's a tool that easily changes the color palette of a spritesheet.
</p>

<p>
	 
</p>

<p>
	HLA: My own pokemon go tournament manager. Admin a little database where you can register players, create tournaments, sign up players to the tournaments and give them points.
</p>

<p>
	 
</p>

<p>
	Snake Worlds: My own version of the classic Snake game.
</p>

<p>
	 
</p>

<p>
	I'll be uploading more programs and improving the ones I've already posted there. You can download and use them whenever you want. Regards
</p>
]]></description><guid isPermaLink="false">3558</guid><pubDate>Tue, 08 Jan 2019 17:28:38 +0000</pubDate></item><item><title>Json code question</title><link>https://www.ascensiongamedev.com/topic/3341-json-code-question/</link><description><![CDATA[
<p>
	Hello, any one know how to edit this line of code so i can add the word "From"  infront of the imported price variable
</p>

<p>
	 
</p>

<p>
	{% include 'product-price', variant: product %}
</p>

<p>
	 
</p>

<p>
	Thankyou
</p>
]]></description><guid isPermaLink="false">3341</guid><pubDate>Sun, 11 Nov 2018 19:54:25 +0000</pubDate></item><item><title>App software.</title><link>https://www.ascensiongamedev.com/topic/3335-app-software/</link><description><![CDATA[
<p>
	does anyone know any free software for building mobile Apps.
</p>

<p>
	 
</p>

<p>
	i want to make a small app for my motorbike club which allows members to log on and purchase an entry to be able to attend an event. which will then send their details to my database.
</p>

<p>
	 
</p>

<p>
	Thanks in advance for any info.
</p>
]]></description><guid isPermaLink="false">3335</guid><pubDate>Tue, 06 Nov 2018 19:45:10 +0000</pubDate></item><item><title>MonoGame just got an official web demo!</title><link>https://www.ascensiongamedev.com/topic/3223-monogame-just-got-an-official-web-demo/</link><description><![CDATA[<p>
	<a href="http://community.monogame.net/t/monogame-inside-your-web-browser/10918" rel="external nofollow">http://community.monogame.net/t/monogame-inside-your-web-browser/10918</a>
</p>]]></description><guid isPermaLink="false">3223</guid><pubDate>Sun, 09 Sep 2018 08:08:50 +0000</pubDate></item><item><title>How would you refactor this?</title><link>https://www.ascensiongamedev.com/topic/3213-how-would-you-refactor-this/</link><description><![CDATA[<p>
	<a href="https://gitlab.com/salemgd/salem2d/blob/feature/game_world/src/system/objects/GameWorld.cpp" rel="external nofollow">https://gitlab.com/salemgd/salem2d/blob/feature/game_world/src/system/objects/GameWorld.cpp</a><br><br>
	Got this file, the code is very C Like written in C++. I feel like there's a lot of repetition in it, but don't know how I would split it up, looking for suggestions. Checkout the Update function and the DrawMask and DrawFringe functions.
</p>]]></description><guid isPermaLink="false">3213</guid><pubDate>Fri, 07 Sep 2018 16:16:26 +0000</pubDate></item><item><title>UDP questions</title><link>https://www.ascensiongamedev.com/topic/2860-udp-questions/</link><description><![CDATA[<p>
	Im creating a game using Godot as a client and Java as a server. My main question is how does the server and client differentiate between packets. Like how does the server know that the packet I just sent is the players coordinates. Any explanation will help and java code examples would be even better.
</p>]]></description><guid isPermaLink="false">2860</guid><pubDate>Tue, 24 Apr 2018 21:42:44 +0000</pubDate></item><item><title>What should I focus on learning?</title><link>https://www.ascensiongamedev.com/topic/2621-what-should-i-focus-on-learning/</link><description><![CDATA[<p>
	<i> </i>
</p>]]></description><guid isPermaLink="false">2621</guid><pubDate>Thu, 25 Jan 2018 21:41:58 +0000</pubDate></item><item><title>Game Engine - Help Me Define Core Functionality</title><link>https://www.ascensiongamedev.com/topic/1870-game-engine-help-me-define-core-functionality/</link><description><![CDATA[
<p>
	I've proven out my game engine/framework and I now need your help in defining the core functionality to program into it. You can freely contribute to the document below: 
</p>

<p>
	<a href="https://docs.google.com/document/d/1qc_GzFmv5OsqJs0IDwe4wJR0lJg5uLpnS_SQE6CTzd4/edit?usp=sharing" rel="external nofollow">https://docs.google.com/document/d/1qc_GzFmv5OsqJs0IDwe4wJR0lJg5uLpnS_SQE6CTzd4/edit?usp=sharing</a>
</p>

<p>
	 
</p>

<p>
	Now that I've built the underlying engine and am now just focused on building out features, I expect that this engine will actually be completed.
</p>
]]></description><guid isPermaLink="false">1870</guid><pubDate>Tue, 04 Jul 2017 20:14:40 +0000</pubDate></item><item><title>Trying to fully understand Entity/Component Architecture</title><link>https://www.ascensiongamedev.com/topic/1604-trying-to-fully-understand-entitycomponent-architecture/</link><description><![CDATA[
<p>
	In the past, I have always written games/engines in full-on OOP, but I stumbled upon an architecture that purports to be widely used when it comes to games, which I'm sure you are all aware of, but I was not.
</p>

<p>
	 
</p>

<p>
	Entity/Component architecture is supposed to help with issues of having large hierarchies of inheritance when it comes to entities, like a character.
</p>

<p>
	 
</p>

<p>
	Following this article from Gamedev.net (<a href="https://www.gamedev.net/resources/_/technical/game-programming/implementing-component-entity-systems-r3382" rel="external nofollow">https://www.gamedev.net/resources/_/technical/game-programming/implementing-component-entity-systems-r3382</a>), I've recreated what I understand to be an Entity/Component architecture in JavaScript.
</p>

<p>
	 
</p>

<p>
	First of all, the article created a core World object that contains a list of all current entities in the game, and then weak maps (I'll explain this momentarily) of the components of each entity. In JavaScript, this looks like the following:
</p>

<pre>
<code>import Position from '../components/position';
import Size from '../components/size';
import Texture from '../components/texture';

const { Map, Set, WeakMap } = global;

export default class World {

    options = new Map();

    state = new Map();

    entities = new Set();

    components = new Map([
        [ Position, new WeakMap() ],
        [ Size, new WeakMap() ],
        [ Texture, new WeakMap() ]
    ]);
}</code></pre>

<p>
	As you can see, components is a Map of &lt;ComponentClass, WeakMap&gt;. What a WeakMap allows, is that if the key exists nowhere else in memory, the WeakMap will allow it to be garbage collected. The WeakMap is essentially &lt;Entity, Component&gt;, so if the entity is deleted from the world's entities Set, then it will automatically be garbage collected, preventing memory leaks.
</p>

<p>
	 
</p>

<p>
	The second part of this architecture is a Component. Components are strictly made up of data, and combined together as a group, make up an Entity. A simple example of one in JavaScript would be as follows:
</p>

<pre>
<code>export default class Position {

    constructor ({ x, y, z = 0 }) {
        this.x = x;
        this.y = y;
        this.z = z;
    }
}
</code></pre>

<p>
	The third concept, of course, is an Entity. Now, an Entity isn't actually anything more than an identifier that components reference in order for services to work (I'll cover services next). Basically, Entity/Component architecture prefers composition, so I have a create method that takes configuration, and creates components. In JavaScript, this looks like:
</p>

<pre>
<code>import Position from '../components/position';
import Size from '../components/size';
import Texture from '../components/texture';

export default class Character {

    static create (world, { position, size, texture }) {
        const character = new Character();

        world.entities.add(character);

        world.components.get(Position).set(character, new Position(position));
        world.components.get(Size).set(character, new Size(size));
        world.components.get(Texture).set(character, new Texture(texture));

        return character;
    }

    static delete (world, character) {
        world.entities.delete(character);
    }
}
</code></pre>

<p>
	You can see that Character is still a class, and is instantiated inside of the static create method, but this is simply to create a unique entry in memory that the services can correctly find all of the components of an entity.
</p>

<p>
	 
</p>

<p>
	The most complicated (it's not complicated) part of this architecture are the services. Services are just functions that you call that act upon entities. An example of a render services looks as follows:
</p>

<pre>
<code>import Position from '../components/position';
import Size from '../components/size';
import Texture from '../components/texture';

export default function render (world) {
    const { components, entities, state } = world;

    for (const entity of entities) {
        const position = components.get(Position).get(entity);
        const size = components.get(Size).get(entity);
        const texture = components.get(Texture).get(entity);

        if (!position || !size || !texture) {
            continue;
        }

        state.get('drawContext').drawImage(texture.data,
            texture.clip.x, texture.clip.y, texture.clip.width, texture.clip.height,
            position.x, position.y, size.width, size.height
        );
    }
}
</code></pre>

<p>
	As you can see, for each entity, it checks if that entity has the required components, which in this case are Position, Size, and Texture. If all three exist, it uses the data from those components to draw the entity onto our canvas, using the drawContext.
</p>

<p>
	 
</p>

<p>
	To all who are familiar with this architecture and OOP; does this seem right to you? Have you used Entity/Component architecture before? Do you prefer OOP?
</p>
]]></description><guid isPermaLink="false">1604</guid><pubDate>Sun, 16 Apr 2017 01:17:13 +0000</pubDate></item><item><title>SQLite BLOB</title><link>https://www.ascensiongamedev.com/topic/1313-sqlite-blob/</link><description><![CDATA[<p>
	I was wondering what file type you store in your data BLOB. Are you storing a specified file type or can you write the data in bytes directly to it? Please advise.
</p>]]></description><guid isPermaLink="false">1313</guid><pubDate>Tue, 31 Jan 2017 19:15:40 +0000</pubDate></item><item><title>Minecraft 1.8.x Plugin Name: Too Many Admins (TMA)</title><link>https://www.ascensiongamedev.com/topic/1224-minecraft-18x-plugin-name-too-many-admins-tma/</link><description><![CDATA[<p>
	REDACTED
</p>
]]></description><guid isPermaLink="false">1224</guid><pubDate>Wed, 11 Jan 2017 21:00:08 +0000</pubDate></item><item><title>The Future Of Programming</title><link>https://www.ascensiongamedev.com/topic/1153-the-future-of-programming/</link><description><![CDATA[
<p>
	Programmers rule the world. We're dangerous. We kill people. The world depends on us in ways it doesn't yet understand, and in ways we don't yet understand. These are a few of the talking points by Robert Martin (aka Uncle Bob) in the last few minutes of his talk titled "The Future of Programming". If you are interested in programming, or even if you aren't I highly recommend watching this.
</p>

<p>
	 
</p>

<div class="ipsEmbeddedVideo" contenteditable="false">
	<div>
		<iframe allowfullscreen="true" frameborder="0" height="270" src="https://www.youtube.com/embed/ecIWPzGEbFc?start=4226&amp;feature=oembed" width="480"></iframe>
	</div>
</div>

<p>
	 
</p>

<p>
	Share your thoughts below <img alt=":P" data-emoticon="true" src="https://www.ascensiongamedev.com/uploads/emoticons/tongue.gif" title=":P"> 
</p>
]]></description><guid isPermaLink="false">1153</guid><pubDate>Wed, 21 Dec 2016 06:22:11 +0000</pubDate></item></channel></rss>
