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

TheCrasH

Members
  • Posts

    29
  • Joined

  • Last visited

    Never

Posts posted by TheCrasH

  1. @Lightning:

    > @TheCrasH:
    >
    > > Hi Everyone.
    > > I need little but serious problem.
    > > This stat thing screw my brain.
    > >
    > > **Call SetPlayerPOINTS(Index, GetPlayerPOINTS(Index) + 10)**
    > > I make this value +10 but it isnt giving +10stat points when a player levels up.
    > >
    > > Sorry for my bad English.
    > > Thanks.
    >
    > Did you include it in Sub LevelUp / LevelUp.ess? (or whatever it's called)

    Yeah I included it.

    >! Sub PlayerLevelUp(Index)
    Dim PlayerExp
    >! If GetPlayerExp(Index) < GetPlayerNextLevel(Index) Then
    Exit Sub
    End If
    >! Do While GetPlayerExp(Index) >= GetPlayerNextLevel(Index)
    PlayerExp = GetPlayerNextLevel(Index)
    >! Call SetPlayerLevel(Index, GetPlayerLevel(Index) + 1)
    Call SetPlayerPOINTS(Index, GetPlayerPOINTS(Index) + 10)
    Call SetPlayerExp(Index, GetPlayerExp(Index) - PlayerExp)
    Call SetPlayerHP(Index, GetPlayerMaxHP(Index))
    Call SetPlayerMP(Index, GetPlayerMaxMP(Index))
    Call SetPlayerSP(Index, GetPlayerMaxSP(Index))
    Call SendPlayerData(Index)
    Call SendStats(Index)
    Call SendHP(Index)
    Call SendMP(Index)
    Call SendSP(Index)
    Call SendPTS(Index)
    Loop
    >! Call BattleMsg(Index, "You have " & GetPlayerPOINTS(Index) & " stat points.", BRIGHTBLUE, LEFT)
    End Sub
  2. Hi Everyone.
    I need little but serious problem.
    This stat thing screw my brain.

    **Call SetPlayerPOINTS(Index, GetPlayerPOINTS(Index) + 10)**
    I make this value +10 but it isnt giving +10stat points when a player levels up.

    Sorry for my bad English.
    Thanks.
  3. I tried reinstall Library Files.But no difference.Still same problem.

    That's the error:
    **Error intializing DirectDraw!Make Sure you have Direct X7 or higher installed and a compatible graphics device.Err: -2147024770.Desc: Automotion Error.
    The specifed module could not be found.**
  4. Sorry for up.

    > The script isn't working for me, I did what you posted, added the Scripted Tile, replaced the OnDeath Sub, and added the "charextras" folder in the scripts folder.  It writes the .ini fine, but when I die, it only displays the message of the death, but no warping, and I've stepped on the respawn tile.

    This Happens in my game.
  5. @Soul:

    > @MrHappySmore:
    >
    > > You could try using Eclipse Stable instead… :/
    >
    > While I do recommend this, that won't fix the problem.
    >
    > TheCrasH, try making Scripting=1 in Data.ini if it isn't already.
    >
    > Also make sure you've saved the file and also reloaded scripts (or just restart the server).

    Thnaks Dude.
    Another Questions:
    How to make Checkpoints(SpawnPoints)
×
×
  • Create New...