Author |
Message |
Forum: General Topic: stackable items |
Jacob |
Posted: Fri Jun 27, 2008 2:30 pm
|
|
Replies: 17 Views: 4281
|
In mine, each item can be stackable and given a max stack amount. This allows for a lot of customization of the items. The biggest headache i had was that if you have stacks of the items in your inventory already, you had to be able to add to those first before starting a new stack. Then if you don'... |
|
|
Forum: General Topic: stackable items |
Jacob |
Posted: Fri Jun 27, 2008 2:07 pm
|
|
Replies: 17 Views: 4281
|
|
|
Forum: Resources Topic: Another Visual Inventory |
Jacob |
Posted: Fri Jun 27, 2008 10:47 am
|
|
Replies: 24 Views: 11678
|
It works ok but I cant click on the items displayed neither dbl click or right click to drop.The items are unselectable. Some help? Did you put the code in frmMirage ? Private Sub picVisInv_DblClick() Dim i As Long Dim InvNum As Long InvNum = IsItem(InvPosX, InvPosY) If InvNum <> 0 Then If GetPlaye... |
|
|
Forum: Resources Topic: Another Visual Inventory |
Jacob |
Posted: Fri Jun 27, 2008 1:27 am
|
|
Replies: 24 Views: 11678
|
It was after the edit: Double clicking an item will use it: Private Sub picVisInv_DblClick() Dim i As Long Dim InvNum As Long InvNum = IsItem(InvPosX, InvPosY) If InvNum <> 0 Then If GetPlayerInvItemNum(MyIndex, InvNum) = ITEM_TYPE_NONE Then Exit Sub Call SendUseItem(InvNum) Exit Sub End If End Sub ... |
|
|
Forum: Resources Topic: Another Visual Inventory |
Jacob |
Posted: Thu Jun 26, 2008 7:42 pm
|
|
Replies: 24 Views: 11678
|
the thing with a visual inventory is that you either need to show it all at once or have a way to scroll. plus adding in all the code to interact with the items sounds really tedious. I just added the code that interacts with the items. http://deadnoggin.com/deadnoggin/ss.jpg In my test client that... |
|
|
Forum: Resources Topic: Another Visual Inventory |
Jacob |
Posted: Thu Jun 26, 2008 5:54 pm
|
|
Replies: 24 Views: 11678
|
Robin wrote: I thought this was already tutorialised >_>
Oh well, if not, as good as ever <3
Although I'm pretty sure most people were using this method anyway xD
Well if it was already a tutorial, I guess I'll add something else to mine then. |
|
|
Forum: Resources Topic: Another Visual Inventory |
Jacob |
Posted: Thu Jun 26, 2008 5:43 pm
|
|
Replies: 24 Views: 11678
|
This Visual Inventory uses BltToDc to draw your inventory instead of picture boxes. All Client Side frmMirage Add a Picture Box Name it picVisInv Set AutoRedraw to True modConstants Add the following: ' Visual Inventory Public Const InvX As Byte = 30 Public Const InvY As Byte = 11 Public Const InvOf... |
|
|
Forum: Show Off Topic: That feeling... |
Jacob |
Posted: Tue Apr 15, 2008 4:53 pm
|
|
Replies: 17 Views: 5124
|
Robin wrote: Or do what I did.
Sign up, post 12 times and then ask why you have a purple name.
I suggest people go play it if they can. Dugor is an amazing coder. One of the best and most imaginative programmers around here atm.
Awe <3 Thanks! |
|
|
Forum: Show Off Topic: That feeling... |
Jacob |
Posted: Tue Apr 15, 2008 1:52 pm
|
|
Replies: 17 Views: 5124
|
Sign up on the forums and then bug Fox to get in on the test |
|
|
Forum: General Topic: Some Algorithm questions. |
Jacob |
Posted: Mon Mar 24, 2008 3:44 pm
|
|
Replies: 26 Views: 6966
|
http://www.wowwiki.com/Armor Mob Levels 1 - 59 DR% = Armor / (Armor + 400 + 85 * MobLevel) Mob Levels 60+ DR% = Armor / (Armor + 400 + 85 * (MobLevel + 4.5 * (MobLevel - 59))) Simplified, the formula becomes: DR% = Armor / (Armor - 22167.5 + 467.5 * MobLevel) That's how WoW does it. |
|
|
Forum: Resources Topic: NPC Movement Frequency |
Jacob |
Posted: Sat Mar 15, 2008 2:58 am
|
|
Replies: 15 Views: 5309
|
I put a max of 254 on my scroll bar. Perfekt is right about frequency. |
|
|
Forum: Resources Topic: NPC Movement Frequency |
Jacob |
Posted: Sat Mar 15, 2008 12:19 am
|
|
Replies: 15 Views: 5309
|
This will add a scroll bar to control the frequency of npc movement. This was only tested on MSE1. Difficulty: 1/5 ::Server Side:: modGeneral Sub GameAi Search for i = Int(Rnd * 5) Replace with i = Int(Rnd * Npc(NpcNum).Movement) + 1 modTypes NpcRec add: Movement As Byte modDatabase Sub LoadNpcs add... |
|
|
Forum: General Topic: Targeted NPC Dies, set everyone on the maps target to 0 |
Jacob |
Posted: Sun Mar 02, 2008 1:16 pm
|
|
Replies: 16 Views: 3829
|
|
|
Sort by: |