Valentine90
-
Posts
115 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Calendar
Posts posted by Valentine90
-
-
Hello!
ollixsykes is not co-founder of AldeiaRPG, nor is he brother of Terabin.
I'm administrator of AldeiaRPG. -
**Netplay Diamond**
Author: Valentine
Version: 1.0.0
**About:**
Netplay Diamond is a structure for creating 2D online games. It is currently considered a beta, and is still in active development, so do not be surprised if some things still do not work.
**Images:**
» Login
![](http://i.imgur.com/eKfTt8O.png)
» Character creation
![](http://i.imgur.com/NMe9s5r.png)
» Shop
![](http://i.imgur.com/OaAzpMf.png)
» Trade
![](http://i.imgur.com/gma77JR.png)
**Download:**
[4shared](https://www.4shared.com/rar/75HxUKx9ca/Netplay_Diamond_100.html)
[Mega](https://mega.nz/#!fYwxSRgT!AK1p3GBCB6KoK1KrPts3m9xr5OGLGe5eXWhY8MinuX0)
**Tips:**
**1) How to make the server work:**
To learn how to make the server work, see Read me.
**2) Data update:**
Use the converter when you make any changes to the map, classes and/or enemies of the database. The converter updates the server information, ensuring that there are no errors.
**Credits:**
**Creator:**
Valentine
**Thanks to everyone who contributes to the following systems:**
Socket: Paulo Soreto
Input: Blizzard
Resolução: Paulo Soreto, PedroHLC e Poccil
**Thanks also:**
Paulo Soreto
Cidiomar
Kaique Hunter
Terabin -
**Evolution Maker**
By: Valentine
Version: 1.0.0
**Images:**
Client:
![](http://i.imgur.com/FagCLv6.png)
Editor:
![](http://i.imgur.com/YB5PZS2.png)
Site:
![](http://i.imgur.com/lB4JABJ.png)
**Download:**
[Engine](https://mega.nz/#!jJZjiC4C!ZTRJQ88B8T8a0m3YG1mY2TSU1fEsHy9NBbEQHF6K8IM)
[Library](https://mega.nz/#!fNgUiRbS!4Kc_RKz9gLk8rd2Je2_GubSrY5Z239O7tBV51B8hTHY)
[Site](https://mega.nz/#!bUIGnAwZ!7klGJPLxoBz_N9ZpxXzNcjBWNO1IOg4aiJgz5wh8l_o)
[Config Graphics](https://mega.nz/#!nUxwRB5C!ggPET1xuTHBeSq36c8TW9SOLHrtf1tX_EnKi-UEDFbo)
[Mysql connector odbc 3.51.27 - win32](https://mega.nz/#!6ARQhC5S!r24pnXiHKw0TBvQ9_AizByeYcOWc3mN4rfni35GgCd8)
[WampServer](https://sourceforge.net/projects/wampserver/)
**Tips:**
If after the installation of the Eloria Libraries there is still an error in some dll, go to run and type:
> regsvr32 "C:\Windows\system32\**name_of_the_dll**.dll"
Now replace **name_of_the_dll** by the name of the dll that appears in the error message and click OK.
**Credits:**
Valentine
Robin -
**Sorry my English**
If you have a target and he leaves the game or dies, it is not cleaned of your player, you will continue with a selected target even if that player is no longer online or live on that map.
**1** - In **modPlayer**, search for:
```
Call SetPlayerVital(index, Vitals.HP, 0)
```
**2**- Beneath add:
```
' Loop through entire map and purge NPC from targets
For i = 1 To Player_HighIndex
If IsPlaying(i) And IsConnected(i) Then
If GetPlayerMap(i) = GetPlayerMap(index) Then
If TempPlayer(i).targetType = TARGET_TYPE_PLAYER Then
If TempPlayer(i).target = index Then
TempPlayer(i).target = 0
TempPlayer(i).targetType = TARGET_TYPE_NONE
SendTarget i
End If
End If
End If
End If
Next
```
**3 -** Search for:
```
TempPlayer(index).InGame = False
```
**4 -** Beneath add:
```
' Loop through entire map and purge NPC from targets
For i = 1 To Player_HighIndex
If IsPlaying(i) And IsConnected(i) Then
If GetPlayerMap(i) = GetPlayerMap(index) Then
If TempPlayer(i).targetType = TARGET_TYPE_PLAYER Then
If TempPlayer(i).target = index Then
TempPlayer(i).target = 0
TempPlayer(i).targetType = TARGET_TYPE_NONE
SendTarget i
End If
End If
End If
End If
Next
```
**Credits:**
Valentine -
Very nice!
-
Could you explain better what it is this fix? what problem had in Eclipse Origins v2 what was corrected by you? I'm not understanding.
-
Good, I liked, I love fix
-
Good! thank you
-
Are you sure that this problem exists in the **EO**? because here is already:
```
' build class combo
.cmbClass.Clear
.cmbClass.AddItem "None"
``` -
This fix is ​​for Original EO v2 (Robin)?
-
**Sorry my english**
Seems a little mistake, this is one of the most most dangerous bugs that I've seen, this is the fix that can not miss in your game because it is an important thing is the connection between the client and server. The _Eclipse Origins_ and derivatives have an anti flood system that prevents overloads the server, so that a player can only occupy a maximum of 1000 bytes per second in memory of the server computer, and also you only can send and 25 messages receive between client and server, this is great, but has a big problem, even if a player is not a hacker, one time or another depending on the system, the player can unwittingly exceed these limits, the problem is that when you pass that limit, NEVER MORE you can receive anything from the server, forcing to the player having to disconnect and try a new connection to the server. This error went unnoticed because not it happens this problem with players admins.
**Open Server**
**1 -** In **modServerTCP**, search for:
```
If GetPlayerAccess(index) <= 0 Then
' Check for data flooding
If TempPlayer(index).DataBytes > 1000 Then
Exit Sub
End If
' Check for packet flooding
If TempPlayer(index).DataPackets > 25 Then
Exit Sub
End If
End If
```
**2 -** Replace by:
```
If GetPlayerAccess(index) <= 0 Then
' Check for data flooding
If TempPlayer(index).DataBytes > 1000 Then
If GetTickCount < TempPlayer(index).DataTimer Then
Exit Sub
End If
End If
' Check for packet flooding
If TempPlayer(index).DataPackets > 25 Then
If GetTickCount < TempPlayer(index).DataTimer Then
Exit Sub
End If
End If
End If
```
**Credits:**
Valentine -
**Sorry my english**
When you attack a Resource (eg a tree) is not observed the attack time of the gun, causing the player to attack more than it should.
**Open Server**
**1-** In **modPlayer**, search for:
```
If Map(GetPlayerMap(index)).Tile(x, y).Type = TILE_TYPE_RESOURCE Then
```
**2-** ABOVE add:
```
' Check attack timer
If GetPlayerEquipment(index, Weapon) > 0 Then
If GetTickCount < TempPlayer(index).AttackTimer + Item(GetPlayerEquipment(index, Weapon)).Speed Then Exit Sub
Else
If GetTickCount < TempPlayer(index).AttackTimer + 1000 Then Exit Sub
End If
```
**3 -** After of:
```
' send message if it exists
If Len(Trim$(Resource(Resource_index).EmptyMessage)) > 0 Then
SendActionMsg GetPlayerMap(index), Trim$(Resource(Resource_index).EmptyMessage), BrightRed, 1, (GetPlayerX(index) * 32), (GetPlayerY(index) * 32)
End If
End If
```
**4 -** Add:
```
' Reset attack timer
TempPlayer(index).AttackTimer = GetTickCount
```
**Credits:**
Valentine -
**Sorry my english**
When a player dies and had shop, bank or trade open, to be reborn, they are still open and running, this tutorial will not close all the windows of these systems (exept window the trade), but will prevent it work on server if you want to complete correction closing the windows will have to make the necessary changes on the client.
**Open Server**
**1 -** In **modPlayer**, search for:
```
' Clear spell casting
TempPlayer(index).spellBuffer.Spell = 0
TempPlayer(index).spellBuffer.Timer = 0
TempPlayer(index).spellBuffer.target = 0
TempPlayer(index).spellBuffer.tType = 0
Call SendClearSpellBuffer(index)
```
**2 -** below add:
```
TempPlayer(index).InBank = False
TempPlayer(index).InShop = 0
If TempPlayer(index).InTrade > 0 Then
For i = 1 To MAX_INV
TempPlayer(index).TradeOffer(i).Num = 0
TempPlayer(index).TradeOffer(i).Value = 0
TempPlayer(TempPlayer(index).InTrade).TradeOffer(i).Num = 0
TempPlayer(TempPlayer(index).InTrade).TradeOffer(i).Value = 0
Next
TempPlayer(index).InTrade = 0
TempPlayer(TempPlayer(index).InTrade).InTrade = 0
SendCloseTrade index
SendCloseTrade TempPlayer(index).InTrade
End If
```
**Credits:**
Valentine -
Sorry the message then, but it is of great importance.
A change was made on the topic, the code:
```
TempPlayer(attacker).AttackTimer = GetTickCount
```
It should be added after:
```
If Len(Trim$(Npc(npcNum).AttackSay)) > 0 Then
PlayerMsg attacker, Trim$(Npc(npcNum).Name) & ": " & Trim$(Npc(npcNum).AttackSay), White
End If
```
And not after of
```
If npcNum > 0 And GetTickCount > TempPlayer(attacker).AttackTimer + attackspeed Then
```
How was the topic before! -
Better warn next time, which engine is being corrected, because I spent a lot of time here in creating 24 spells and testing Eo v2.
-
This is a fix for _Eclipse Origins v2_? because I tested here and works perfectly in player not admin with 24 spells.
-
> Is this fixed in Eo 3.0?
I fix bugs of oficial Eclipse Origins v2. -
**Sorry my english**
Robin forgot to put a code in the Function that checks the time "attack" of player against a npc, ie, the NPC can be "attacked" before the appointed time. Not a problem for monsters, but for other types of NPCs, as npc shop for example. Don't There is a very serious problem in _Eclipse Origins v2_, but in _Crystal shire_ drifts and other engines that use the types of npcs more than usual yes, however if it is a bug then it should be corrected.
**Open Server**
**1 -** In **modCombat**, search for:
```
If Len(Trim$(Npc(npcNum).AttackSay)) > 0 Then
PlayerMsg attacker, Trim$(Npc(npcNum).Name) & ": " & Trim$(Npc(npcNum).AttackSay), White
End If
```
**2 -** Below this line add:
```
' Reset attack timer
TempPlayer(attacker).AttackTimer = GetTickCount
```
**Credits:**
Valentine -
**Sorry my english**
Robin made a small mistake when calling the Function CanNpcCrit when the NPC attacks a player, leading to the Player ID to Function and not the NPC ID as it should.
**Open Server**
**1 -** In **modCombat**, search for:
```
If CanNpcCrit(index) Then
```
**2 -** Replace with for:
```
If CanNpcCrit(npcNum) Then
```
**Credits:**
Valentine -
I do not quite understand what this does, could explain better?
-
Hello, I analyzed the original **Eclipse Origins v2** here and **SendPlayerDir** is not sent when the player collides with a locked position, ie not being sent in excess.
-
I told you, I work with **DirectX8**, I have **visual basic 6** installed, have all the dlls that need.
-
Hello, I wonder if they will fix the DirectX8 so that I and others who have the same problem that I can connect to the game, it is simple to redo, something that is already done in crystal shire.
-
Simple but good, so a hacker will have more work to put the exact version.
Radiant Story Encrypter
in Tutorials
Posted
Just responding.
You said were co-founder of Aldeia RPG, but I do not even know you.
I am Brazilian and I can say that brother in Brazil continues being brother, as anywhere in the world.
I know Terabin for years, he's also an administrator of the Aldeia RPG.