P Server "NPC base code/shops/drop items" for who asked me 2 do it

06/04/2008 14:35 undeadxx#46
i really dont get it..i think im really so stupid with c#.. thanks anyways!!
06/04/2008 14:50 levi255#47
Hm.. I Can't Talk Like GM... Can U Put The Chat File Edited 4 Download ;) ?
06/04/2008 15:05 taylow345#48
give it some time undead, the best way i learn anything is by doing some comparison, then finding the diffrence, and then copying, and then changing bit by bit.
06/04/2008 15:40 YukiXian#49
Quote:
Originally Posted by samehvan
i think Mana will be my next step ,or Mobs Drop items , ddnt decide yet , u tell me what u want more ??

Quote:
Well, if you really want to know xd, Here's my list

- Mana ( For Tao's )
- Monsters Drop items
- Monsters are attacking/moving
- Monsters will give exp
- How to change/delete commands?
- How to add commands?
- First Reborn/Second Reborn

I think u can do something with this

Thx, Yuki

+K for you !!!
Quote:
Originally Posted by samehvan View Post
nice list :eek: too many hard work tho :p


Yeh i know its alot i want :D
When do you think mana is done? ;)
And how did u learn to code things like that? :p

Thx, Yuki:cool:
06/04/2008 16:39 samehvan#50
Quote:
Originally Posted by Orionek View Post
thanks samehvan, but it's still don't work. always that give me prof on Poleaxe
i tested it be4 i post it so i think it has to work , notice that u have 2 "type2=530" , so u need to change the second one coz the poleaxe type is 530 , and tell u what ? , here is the code u chould put there

Code:
                    else if (type == "Poleaxe")
                        type2 = 530;
                    else if (type == "Glaive")
                        [U][B]type2 = 510;[/B][/U]
                    else if (type == "Longhammer")
                        type2 = 540;
and if u just dld the last source.rar it will work coz i fixed it on it

Quote:
Originally Posted by undeadxx View Post
i really dont get it..i think im really so stupid with c#.. thanks anyways!!
no one is stupid if u really want something u will do it , and listen to what "taylow345" said he is r8

Quote:
Originally Posted by levi255 View Post
Hm.. I Can't Talk Like GM... Can U Put The Chat File Edited 4 Download ;) ?
k i will as soon as i have time to code it

Quote:
Originally Posted by taylow345 View Post
give it some time undead, the best way i learn anything is by doing some comparison, then finding the diffrence, and then copying, and then changing bit by bit.
nice advice

Quote:
Originally Posted by YukiXian View Post
Yeh i know its alot i want :D
When do you think mana is done? ;)
And how did u learn to code things like that? :p

Thx, Yuki:cool:
i cant give a specific time for that , i said be4 i am just having fun and learning new things :p ,i have another work i have to do ,i am just doin my best when i have free times

about learning i just dd as anyone can do , got the books and followed them
-dont rush urself and goin fast to code , take it easy so u will be good coder ,i am still learning tho , u can call me a noob yet :P
06/04/2008 17:06 samehvan#51
Quote:
Originally Posted by YukiXian View Post
Yeh i know its alot i want :D
When do you think mana is done? ;)
And how did u learn to code things like that? :p

Thx, Yuki:cool:
no, not alot at all , u just asking for a full working Source :D
06/04/2008 17:27 taylow345#52
I just want to make this known, i was running tests of what happens when you close this and that lol. Be sure you turn your server off properly!

instead of just closing the black c:\ screen, stop the listening server, then exit theCOserver, then close the c:\ screen.
-
from what i've tested 4 times lol, if you do not do this persedure, you will end messing up your files, and in case everytime you log in, all npcs, commands, and what will not work and you'll need to replace your source files yet again.

-Tay
06/04/2008 18:46 taylow345#53
also, is there a way to make more maps, and even see map ids? and when i say make maps i mean copy a map like twin city, and use it for a diffrent purpose
06/04/2008 19:08 jadatbenik#54
Quote:
Originally Posted by samehvan View Post
-dont rush urself and goin fast to code , take it easy so u will be good coder ,i am still learning tho , u can call me a noob yet :P
Noob :D:cool:

Lol jk, great work dude, will try this on my Private Server asap,
i know how hard it is to learn C#, and i got ansome advice for everybody that wants to learn it:

go to: [Only registered and activated users can see links. Click Here To Register...],(a small programm to create games with) and download game maker, find a good tutorial in GMC (not hard to find with google, yahoo, or anything else) and master this, this language is fairly easy to understand because you can actually follow the commands, even when you're starting.

after mastering this, use an e-book to help you trough C#, this will be al lot easyer since you good at GML, and you will go trough C# a lot faster, working on my C# aswell, and I notice (compared to friends) that i go trough C# a lot faster than them.

Few general tips:
1. Use debuggers if you don't know whats wrong! they're a great help, really...
2. Hang in there, don't lose faith when something wont work, let it rest for a while, and look at it the other day, you might find the problem then!
3. Find a good and understandable tutorial! Programming languages are hard enough to learn without wrestling youreself trough a tutorial you dont understand ;)

Hope I helped y'all!

Greets and good luck,

Jadatbenik
06/04/2008 19:11 taylow345#55
wow... sorry for all the posts, but heres what i've found out so far:
Switching hands for a trojan left and right, will cause the server to crash as in "Not Ready"
-
Closing the server down incorrectly will lead into a "Not Ready" when restarted
-
massive equipment switches such as double clicking to unequip and right clicking to equip will crass the server as in "Not Ready" aswell...

==============
Not Ready, is what you'll get in the black c:\ window when the server crashes or dosnt respond correctly.
is there a way to fix this without replacing the source again?
06/04/2008 19:29 undeadxx#56
guys can u plz check this link...

[Only registered and activated users can see links. Click Here To Register...]

ive tried it and it lets me log in to the game..but i dont see any NPCs and mobs..i named my char but everytime i log in game its always "selector" no matter how i try to rename it..can anyone help me figure out whats wrong with this guide??
06/04/2008 19:42 abdomiky7#57
3awzen n5le fe Guild and GW wy ndrb fe el 3nod wy ngeb cps momkn wla no ya basha
06/04/2008 20:18 YukiXian#58
lol , already got mana? :p
06/04/2008 23:02 levi255#59
I Really Need Mana... My List:

Mana
1 rb and 2
Monsters Moving And Atking
06/05/2008 00:13 abdomiky7#60
3awzen n5le fe Guild and GW wy ndrb fe el 3nod wy ngeb cps momkn wla no ya basha