PDA

View Full Version : New Resist Tool - Teaser



Syntax-Error
25-10-03, 00:53
Just thort i post the progress so far:

Section One

http://pakman385.home.comcast.net/images/neocron/syntax/Armour.jpg

Section Two

http://pakman385.home.comcast.net/images/neocron/syntax/Imps.jpg


Not great.. but its my first.

Marx
25-10-03, 00:59
IT POYNT 2 NIPPLE!11

:lol:

Just kidding, looks nice so far.

Lexxuk
25-10-03, 01:00
any chance of a female version? purrrr :D

/edit - 2 resistors? O_o if you changed that so its a pop up box, which then you can got a checkbox instead, so you can only choose one item, will save you coding in the long run with a "is there more than one item chosen" you could also make it so, hmm, little push buttons with chip type str/dex/psi/int inside a box, so when you click it, it brings up only them type of chips (and a rare/mc5 box too).

/edit 2 - if you make it open source (a very good idea, cause it could be classed as a 3rd party programme, which falls under the "you cant post that here!") you'll get some pretty damn good programmers happy to help you out on the code.

QuantumDelta
25-10-03, 01:01
Astetics are always nice, but I demand functionality...
Give me Armor/Buff/Imp/Con
With EVERY implant, and, then give me the skill manage side of it, and I'll love you forever :p (meaning; the ultimate char planner) :p


So far, there have been several "good attempts" at making a char planner, but they either have errors or fall out of date...

Syntax-Error
25-10-03, 01:08
Well this is a Resist program right now.. i could make it into a full blown program (the code is long but piss easy to do right now so dont worry) i currently have all armour (But the PAs just yet adding them any time now) and all the imps that i felt effected the resist side of things.. sure ill make it open source im not a good programmer i have a city&guilds lvl 2 and thats it (still on lvl 3 training now)

\\Fényx//
25-10-03, 01:12
do it like the other progs, but with all in one,

Make tabs at the top, one for stats (DEX INT CON STR PSI) and the sub skills, chosning a class of course, then another tab for armour, working out what you can se from your stats, and another for imps.



:)

QuantumDelta
25-10-03, 01:17
C&G 2 Is higher than what I officially have atm anyway -_-;

I'm just a good critic, don't mind me :p

Lexxuk
25-10-03, 01:18
If you want, i can set you up some webspace for your programme, so you can upload the code etc.. and a mini forum too so you can keep in touch with the people that offer to help programme it.

Benjie
25-10-03, 01:23
Originally posted by QuantumDelta
So far, there have been several "good attempts" at making a char planner, but they either have errors or fall out of date...
What about 1 that calculated how much damage each weapon would do to you?

So for example. On the left hand side, the offence section... Choose a Cursed Soul, set condition to 120 all stats. Give it an Ultima mod and an Xheated mod.

On the right select 120Xray resist, 50 fire resist, 50 poison resist and 80 energy resist. Select TL3 Deflector 120 all stats with 4 enhancers. Select Viper King chest, Inqusition Legs 4, Fire Boots 3 and Duranium 4 Helmet. Select Resistor chip.

On the bottom select single shot, full burst, or 1 minuite 33 seconds. Voila! you get your damage calculation!

On top of that there was an ADD CUSTOM ITEM tool so you can keep up to date yourself, there was a skill manager, and it was fully debugged.. and pretty.

Of course I can't do it. I know fuck all about programming. :rolleyes: :lol: :eek:

Syntax-Error
25-10-03, 01:23
That would be nice of you :)

And ill get to work on that. full char it is (just be kind i aint a great programmer but im willing to do the long programming part :) )

QuantumDelta
25-10-03, 01:24
I can try to help, probably not on the programming side, but the functionality maybe :p

Shadow Dancer
25-10-03, 01:24
I love you syntax. :D

Syntax-Error
25-10-03, 01:28
Right i can prolly do that weapon idea.. with a little help from people with the stats. i have the neocrom.ems.ru stats on weapon and mods and ammo (btw with 120% stats.. u dont need an ultima)

Anyhow.. my question to you..

Do i need to put a class select in or can i just let you choose the ammount of STR/DEX ect u have?

\\Fényx//
25-10-03, 01:31
Originally posted by Syntax-Error
Right i can prolly do that weapon idea.. with a little help from people with the stats. i have the neocrom.ems.ru stats on weapon and mods and ammo (btw with 120% stats.. u dont need an ultima)

Anyhow.. my question to you..

Do i need to put a class select in or can i just let you choose the ammount of STR/DEX ect u have?


make it class based, so that you cant 'overcap' your char by accident or if you dont know the caps etc.

QuantumDelta
25-10-03, 01:31
I think it depends on what level of complexity you want to do it to..


considering PAs have requirements on them now...
It's up to you, I'll try develop a list of the comprehensive things to help.

As for the weapon damage, predicting ammo modded weapon damage from EMS.RU Stats is probably going to be difficult to rely on :/
No harm in trying, it'll definatly give a rough idea of the right damage though :p

Syntax-Error
25-10-03, 01:32
Ok nm scratch that i had an idea.. ill test it out (man u guys like making me work dont you :P )

\\Fényx//
25-10-03, 01:34
Originally posted by Syntax-Error
Ok nm scratch that i had an idea.. ill test it out (man u guys like making me work dont you :P )


good to see you do something for once instead of bitching about the lack of FA in plaza 1 :p ;)

Syntax-Error
25-10-03, 01:39
Im hurt :(


I only bitch about the lack of defence in TH :P

And ive been busy with these event ect aswell (u know that one people bitched about on pluto :( )

QuantumDelta
25-10-03, 01:39
Originally posted by \\Fényx//
good to see you do something for once instead of bitching about the lack of FA in plaza 1 :p ;)
You bad mouthing FA?
Quiet you :|

‡ Stormlord ‡
25-10-03, 01:43
....nice nice, VERY nice ^^

Syntax-Error
25-10-03, 01:45
Argh i hate this part

Now u guy get to show me up


Private Sub TXT_SPY_INT_Change()
If TXT_SPY_INT >= 100 Then
MsgBox "Spy INT can not reach above 100 without imps, please adjust"
TXT_SPY_INT.Text = 0
End If
If TXT_SPY_INT <= 0 Then
MsgBox "Spy INT canot be negative without imps, please adjust"
TXT_SPY_INT.Text = 0
End If

End Sub

Works fine.. appart from when u delete all numbers you get a runtime error... and i cant work out why :/, the error is on the first line. anyone know what i can do?

Syntax-Error
25-10-03, 01:48
nevermind got it sorted with


If TXT_SPY_INT = "" Then
TXT_SPY_INT = 0
End If
If TXT_SPY_INT >= 100 Then
MsgBox "Spy INT can not reach above 100 without imps, please adjust"
TXT_SPY_INT.Text = 0
End If


[EDIT]
Ahh improved again :




If TXT_SPY_INT = "" Then
TXT_SPY_INT = 0
End If
If TXT_SPY_INT >= 100 Then
TXT_SPY_INT.Text = 100
End If

QuantumDelta
25-10-03, 01:50
Yeap, it was because it realised that it wasn't in the range you set, however it didn't have any value at all, so it just went poof :p

... I think o_O

Syntax-Error
25-10-03, 01:53
Thats what i guessed. well it sorted now :D

Syntax-Error
25-10-03, 02:03
Iam right in the fact that every single level gives 5 subclass points?

SO 100 INT will give 500 int points?

(sounds wrong to me :/)

Shadow Dancer
25-10-03, 02:05
Originally posted by Syntax-Error
Iam right in the fact that every single level gives 5 subclass points?

SO 100 INT will give 500 int points?

(sounds wrong to me :/)



You're right. But don't classes start with extra points in their "main" skills?

Lexxuk
25-10-03, 02:09
Originally posted by Syntax-Error
Iam right in the fact that every single level gives 5 subclass points?

SO 100 INT will give 500 int points?

(sounds wrong to me :/)

Spies start with I think it is 5 int levels, and a fair few points, cant remember where i left the actual starting values though.

You also have to take into account..

1-50 = 1 point
51-75 = 2 points
75-100 = 3 points
100 + = 5 points

Also, I might be mistaken, but doesnt >= mean equal or higher than? If so, when you get 100, wouldnt it say "you are >= than 100, you cant do that"

Syntax-Error
25-10-03, 02:14
I changed the code. and was half way though the change :P


btw thnx for those number been trying to remember :D



Anyone know if theres a mouse hover command for VB?

Syntax-Error
25-10-03, 03:22
Slow progress due to ... err.. naming of every damn thing :/

anyhow

http://pakman385.home.comcast.net/images/neocron/syntax/Spy.jpg

QuantumDelta
25-10-03, 03:25
Starting to look like I'm going to be giving you freesexing later....
Nice, very nice.

edit;
there was a post in the test forum about the starting stats of the PE and the Spy.. I can't honestly remember all the starting points...but i'll go look (before you ask I've used EVERY Charracter slot Test/Jupiter/Venus/Uranus/Saturn/Pluto has...so I can't roll and do it manually :p) hope I can find it...

Syntax-Error
25-10-03, 03:36
I need a little help here.. ive forgotten a command

iNM got it with


If LBL_SPY_INT > 0 And LBL_SPY_INT < 50 Then

ubz0r
25-10-03, 04:34
GIMMEH!! :eek: :eek: :eek:

Syntax-Error
25-10-03, 04:50
lol i hit large problems just now truing to sort the fact u could go below 0.. sorted that now and moving to finish that section of code.. that will mean i have rifle combat on it for spys dont..

SO... dnt expect this anytime tonite..

QuantumDelta
25-10-03, 04:53
Quality takes time :p
You can obviously also release updates ;)

Syntax-Error
25-10-03, 05:01
Ok im so tired i deleted the same thing 4 times and re-typed it

i need sleep i cant work anymore soz guys and girls.

Torteth
25-10-03, 05:02
Originally posted by Syntax-Error
I changed the code. and was half way though the change :P


btw thnx for those number been trying to remember :D



Anyone know if theres a mouse hover command for VB?

There's a MOUSE OVER function for most form controls... Gimme a yell in #neocron (when I get home from work in 10mins) if you need more help. :D

Edit: Or grab some sleep... Hehehe :P

Syntax-Error
25-10-03, 05:03
VB6 dosnt have one. its ok i used mousemove. sorted that bit now

anyhow . im from uk.. its 4am and i started this at like .. 10.30

so er... gnite

QuantumDelta
25-10-03, 05:04
yeap...i know how that feels :p

sleep well syntax-personage :p

Syntax-Error
25-10-03, 12:51
Ok slept late but im back and just about to start work again.

Syntax-Error
25-10-03, 13:17
Ok i just finished the + and - buttons for the pistol skill on spy.. :/


here it is :



Private Sub CMD_SPY_PISTOL_MINUS_Click()

If TXT_SPY_PISTOL_POINT >= 0 And TXT_SPY_INT < 50 Then
If TXT_SPY_PISTOL_POINT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT - 1
LBL_SPY_INT = LBL_SPY_INT + 1
End If
ElseIf TXT_SPY_PISTOL_POINT >= 50 And TXT_SPY_PISTOL_POINT < 75 Then
If LBL_SPY_INT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT - 1
LBL_SPY_INT.Caption = LBL_SPY_INT.Caption + 2
End If
ElseIf TXT_SPY_PISTOL_POINT >= 75 And TXT_SPY_PISTOL_POINT < 100 Then
If LBL_SPY_INT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT - 1
LBL_SPY_INT.Caption = LBL_SPY_INT.Caption + 3
End If
ElseIf TXT_SPY_PISTOL_POINT >= 100 Then
If LBL_SPY_INT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT - 1
LBL_SPY_INT.Caption = LBL_SPY_INT.Caption + 5
End If
End If

End Sub

Private Sub CMD_SPY_PISTOL_PLUS_Click()

If TXT_SPY_PISTOL_POINT >= 0 And TXT_SPY_PISTOL_POINT < 50 Then
If LBL_SPY_INT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT + 1
LBL_SPY_INT.Caption = LBL_SPY_INT.Caption - 1
End If
ElseIf TXT_SPY_PISTOL_POINT >= 50 And TXT_SPY_PISTOL_POINT < 75 Then
If LBL_SPY_INT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT + 1
LBL_SPY_INT.Caption = LBL_SPY_INT.Caption - 2
End If
ElseIf TXT_SPY_PISTOL_POINT >= 75 And TXT_SPY_PISTOL_POINT < 100 Then
If LBL_SPY_INT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT + 1
LBL_SPY_INT.Caption = LBL_SPY_INT.Caption - 3
End If
ElseIf TXT_SPY_PISTOL_POINT >= 100 Then
If LBL_SPY_INT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT + 1
LBL_SPY_INT.Caption = LBL_SPY_INT.Caption - 5
End If
End If


End Sub


ALl i got do is the same again about 4000000000 times

*sigh*

\\Fényx//
25-10-03, 13:19
onoz double post ban ban banbanban!

:lol:

Syntax-Error
25-10-03, 13:22
onos SPAM


:P

anyhow. just started work on the other spy skills

djskum
25-10-03, 13:28
Great work Syntax!!

DjSKum

Lexxuk
25-10-03, 13:42
shouldnt there be a way to set X as a reference point for all to look at to find what it needs, without having to type the same thing 4 billion times?

Syntax-Error
25-10-03, 13:49
THat wouldnt help here tho

as every single skill has its own set of TXT_ and LBL_ and CMD_'s

Lexxuk
25-10-03, 13:54
Hmm, that does seem like a bit too much code for one little thing, or is it just me? O_o

Cant you set variables...

TXT_SPY_PISTOL_POINT = spy_p

then instead of

TXT_SPY_PISTOL_POINT

you could write

$spy_p

Syntax-Error
25-10-03, 13:59
Naaa cos i copy and paste (and dont u guys start)

so its dont take too long

Mighty Max
25-10-03, 13:59
ouch

The single lines looks selfdescribing. But for the whole ... dont think you have much fun searching errors.

I would suggest that you look abit into tables or stacks, or maybe better to do this a bit more OO.


I wouldnt have fun copy and paste for every item/skill. And im sure that i would make much errors due to the lack of concentrytion ill fall into ...

Anyways, i like the idea, and the layout. :)
Good luck with it

Syntax-Error
25-10-03, 14:14
I find it easy to bug test it like this tbh. because i know that all the code is the same so i can work out an error in one place and then test it. and work again and test

One of the best things about VB you can run without writing a full code. Unlike C+ which is a pain in the ass.

Syntax-Error
25-10-03, 14:44
Ok a question. the code Automatically arranges the subs into alpabetical order. this means that DEX subskills and STR subskills ect are mixed up. and i want to be able to make a structured code.

Any idea how i can clarly define the STR subskills and the DEX Subskills?

Syntax-Error
25-10-03, 16:30
YAY


done that and next part


Program now.. 23% complete

Lexxuk
25-10-03, 17:34
websites gettin there too, I cheated and eventually went with PHP Nuke, but thats coz I can do other things with it aswell for Neocron, if u wanna look, try here (http://www.dgwebb.force9.co.uk/nc/)

just gotta figure out how to get it so you can upload ur source code.

Syntax-Error
25-10-03, 18:09
Ahh good old nuke. just make me an account with admin rights and ill be able to upload (or should be able too)

Lexxuk
25-10-03, 18:11
hmm, ok, PM me..

name
nickname
email
password

not ur NC ones :p just so I can set it up, for ya.

Progenitor
25-10-03, 18:58
Originally posted by Syntax-Error
Ok i just finished the + and - buttons for the pistol skill on spy.. :/


here it is :



Private Sub CMD_SPY_PISTOL_MINUS_Click()

If TXT_SPY_PISTOL_POINT >= 0 And TXT_SPY_INT < 50 Then
If TXT_SPY_PISTOL_POINT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT - 1
LBL_SPY_INT = LBL_SPY_INT + 1
End If
ElseIf TXT_SPY_PISTOL_POINT >= 50 And TXT_SPY_PISTOL_POINT < 75 Then
If LBL_SPY_INT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT - 1
LBL_SPY_INT.Caption = LBL_SPY_INT.Caption + 2
End If
ElseIf TXT_SPY_PISTOL_POINT >= 75 And TXT_SPY_PISTOL_POINT < 100 Then
If LBL_SPY_INT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT - 1
LBL_SPY_INT.Caption = LBL_SPY_INT.Caption + 3
End If
ElseIf TXT_SPY_PISTOL_POINT >= 100 Then
If LBL_SPY_INT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT - 1
LBL_SPY_INT.Caption = LBL_SPY_INT.Caption + 5
End If
End If

End Sub

Private Sub CMD_SPY_PISTOL_PLUS_Click()

If TXT_SPY_PISTOL_POINT >= 0 And TXT_SPY_PISTOL_POINT < 50 Then
If LBL_SPY_INT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT + 1
LBL_SPY_INT.Caption = LBL_SPY_INT.Caption - 1
End If
ElseIf TXT_SPY_PISTOL_POINT >= 50 And TXT_SPY_PISTOL_POINT < 75 Then
If LBL_SPY_INT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT + 1
LBL_SPY_INT.Caption = LBL_SPY_INT.Caption - 2
End If
ElseIf TXT_SPY_PISTOL_POINT >= 75 And TXT_SPY_PISTOL_POINT < 100 Then
If LBL_SPY_INT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT + 1
LBL_SPY_INT.Caption = LBL_SPY_INT.Caption - 3
End If
ElseIf TXT_SPY_PISTOL_POINT >= 100 Then
If LBL_SPY_INT > 0 Then
TXT_SPY_PISTOL_POINT = TXT_SPY_PISTOL_POINT + 1
LBL_SPY_INT.Caption = LBL_SPY_INT.Caption - 5
End If
End If


End Sub


ALl i got do is the same again about 4000000000 times

*sigh*


NOOOO!

You are using VB, right? Multiple controls can have the same events. Set up one function for click up, one for click down. make the logic generic enough to handle all of the skills.

-p

Syntax-Error
25-10-03, 19:22
i said i can program.. i never said i could program well..

in other word.. huh?

And u tell me that just AFTER ive writen 4000 lines of code :/

Syntax-Error
25-10-03, 19:53
Ok well

49% complete

I have SPY and TANK skill setup completed but ive now been coding since 11AM and i forgot to eat.. so i think ill take a break :D

ElfinLord
25-10-03, 21:14
Your program is looking great so far. Keep it up.:)

I have a question, though.

I have read the lines of code you have posted here and I have a question about your text field input.

I remember when I studied VB6 back in 2001, that we had to use a VAL() function to return a numerical value from a text box for use in calculations and comparisons (i.e. if/then), and error checking had to be done to prevent the user from inputting non-numerical characters in the text boxes.

I didn't see the use of this VAL() function in your code and was wondering if I am off on this and it doesn't need to be done, and also if you did the error checking for non-numerical characters in the KeyPress() event for the text boxes or somewhere else.

In short, what happens if I try to write "hi", or anything else, in the text boxes?

ElfinLord

Syntax-Error
25-10-03, 21:54
Well. i have no calculations that need doing yet. But i will be using VAL yes

Also as of right now it go "AHHHHHHHH FUCK" *CRASH* but ill be adding error checking at the end once ive got it all working.