Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

alextoti99

Members
  • Posts

    97
  • Joined

  • Last visited

    Never

Posts posted by alextoti99

  1. Hello, im writing a code that when a play steps on a tile to send a packet and open a window at client the code:
    Client:
    ```
    ModBuy:
    Sub OpenBuy(ByVal name As String)
    frmBuy.Show
    frmBuy.lblname.Caption = name
    End Sub

    ModEnum:SSentBuyChar
    ModHandleData:

    HandleDataSub(SSentBuyChar) = GetAddress(AddressOf HandleSetBuyChar)

    Private Sub HandleSetBuyChar(ByVal Index As Long, ByRef data() As Byte, ByVal StartAddr As Long, ByVal ExtraVar As Long)
    Dim buffer As clsBuffer
    Dim CharName As String
    Set buffer = New clsBuffer
    buffer.WriteBytes data()
    CharName = buffer.ReadString
    Set buffer = Nothing
    Call OpenBuy(CharName)
    End Sub

    ```Server:
    ```
    ModEnum: SSentBuyChar
    ModServerTCP:
    Public Sub SetBuyChar(ByVal index As Long)
    Call PlayerMsg(index, "You can't continue on the rest map without buying the game!", Red)
    Dim buffer As clsBuffer
    Set buffer = New clsBuffer
    buffer.WriteLong SSentBuyChar
    buffer.WriteString GetPlayerName(index)
    SendDataTo index, buffer.ToArray
    Set buffer = Nothing

    ModPlayer:
    ' Premium
    If (GetPlayerX(index) = 26) And (GetPlayerY(index) = 11) And (GetPlayerMap(index) = 10) And (GetPlayerBoughtChar(index) <> 1) Then
    Call PlayerWarp(index, 10, 31, 11)
    Call SetBuyChar(index)
    End If

    ```The error is that when i go on that tile the client closes automatically without any error.
  2. Hello I present you my upcoming indie 2D MMORPG Isolated Paradise. So far there isn't much information, as the game's alpha will start soon.
    The games website is: http://www.ghostwiregames.com/

    Game Story:

    > They say that once, this land was peaceful and prosperous. That peace was had, and that even the merest village was like a palace. Such prosperity could not last, however. They say a man with no name but Wicked unleashed a curse of ruination. The land rotted, millions died, and the gods themselves were struck down, falling from the heavens. Death had swept the world, leaving few untouched.
    >
    > As humans are wont to do, the survivors fought over the scraps that were left. Friend fought friend, and brother fought brother, as the remnants of kingdoms that were firm allies turned against each other in their plight. The dead themselves roamed the lands, so great was the catastrophe that even those forsaken gates to the lands of the unwanted dead were flung open. This once prosperous land, already ruined once, threatened to destroy itself over again.
    >
    > But not all had lost their senses. Not all sought to become a king over the ashes. An institute, famed for training some of the greatest heroes ever known, took a stand. In a world gone mad, these few heroes left opened their doors. They took in the hopeless, the desperate, the forgotten, and they turned them into heroes. Heroes with no loyalties but to humanity as a whole, no purpose but the protection of all, and no aspiration but to die fighting the terrors out there in the world. Are they enough? Tell me, can a candle hope to illuminate the night? But they continue to try, in the hopes that one day, they will be enough.

    Class System: When starting the game the players can choose between two (2) classes (Fightet and Mage). Then the game starts. Although, there are only two classes that a player can choose, then he has to buy his skills (books) in order to fix their class in the way he/she likes. Example: I start with fighter and then i buy mostly ranged/bow skills or with mage i buy more fire skills.

    Skills until now:

    Mage:

    > Fire Bolt: Make an enemy catch fire.
    > Ice Bolt: Make an enemy freeze.
    > Solar Flare: Cast a blast of lightning at an enemy.
    > Water Beam: Cast massive water at an enemy.
    > Blast of Lightning: Cast a blast of lightning at an enemy. Also the near invisible enemies will be revealed.
    > Sleep: Cast sleep at your target.
    > Frost Wall: All enemies near you will get damaged.
    > Major Heal: Heals your target.
    > Healing Wave: Will heal all the enemies near your target.
    > Fire Wall: Will burn everyone near you.
    > Chain Lightning: Will deal lightning damage at the enemy and the enemies near him.

    Fighter:

    > Rock Instability: Deal in a radious around you massive damage.
    > Wind Gash: Give you the abiliy to slash your enemy with the help of the winds.
    > Heart Piercer: Pierce your enemy's chest to deal him massive damage.
    > Way of the Axe: Deals critical damage at your enemy.
    > Counter Attack: Attack your enemies while attacking you in no time.
    > Desert Curse: Curses your enemy with the help of the desert god stunning the target.
    > Mana Combustion: Will consume some of your enemy's mana.

    Both Classes:

    > Ignite: Deals your enemy fire damage over time.

    Dungeon System: In the game's world there are many dungeons, some are freely open, others need keys or an item to have or to consume in order to enter, others are party only, while others open randomly on enter for every player (a message will be sent to the player on enter about the open dungeon.

    Misc Information: When the game starts ventrillo client will open. Also players cant disconnect from the game if they aren't in a safe zone. In the game there are wood cutting and mining and craft system. The game will have an open world.

    Items until now:

    > Unicorns: Main currency.
    > Tutorial Items (many): Used for the tutorials.
    > The Ruby of the Dead: Opens the gates to the hell.
    > Stats Reset Potion: Resets the player's stats.
    > Old Knight's/Mage's/Scout's Items: The tier 1 items made of wood.
    > Skill Tombs: Used to learn skills.
    > Log Lvl1/2: Used to craft items, can be taking by cutting trees down.
    > Hatchet: Used to cut trees.
    > Pickaxe: Used to mine.
    > Hotel Ticket: Used to enter the hotel (hotel heals the player).
    > Ores: Used to craft items.

    There are many NPCs, some of the mare bosses, others are monsters, while others are shop keepers quest givers or mere NPCs.
    Finally, the game accounts are protected with a custom crypt system.

    Some game fotos: http://imgur.com/a/4tANL
    Support the project: https://www.paypal.me/AlexandrosTitonis
  3. Its not sth difficult i just thought that it could help some people.

    Its client Only.
    Difficulty: easy.

    <–--- Client ----->
    First:
    Right click on the project at project manager add -> add form -> Splash Screen
    Then go at ModGeneral and find Public Sub Main()
    If Options.Debug = 1 Then On Error GoTo ErrorHandler

    +frmSplash.Show

    ------------------------------
    +frmSplash.Hide

    MenuLoop

    Add the lines with the + , without the +
    Also delete the SetStatus if you want or you can modify them.

    Splash Screen Done.
    Now the tip of the day/week/month etc.

    Create again a form add-> add form -> tip of the day
    Then make the form as u like to fit with the game.
    And in mod input:
    Select Case Command(0)
    +Case "/tip"
    + frmTip.Show
    Case "/help"

    So when the player types /tip the tip form will show.
    You can add code to initialize the graphic at it too.
  4. they are all .png the first 39 work, the rest dont.
    ive test them all in other engines and where ok
    edit: found it, 40.png was missing my bad
  5. if the webserver is with the gameserver? and register to the server the same time? otherwise with ftp? also how can i see the layot of the files?
    accountname pass charrname   d ?f   ? *  
    ³                    ‚  F  F  F
    they are encrypted
×
×
  • Create New...