| · Forum Rules · Portal |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| Glorifindal |
Posted: Feb 13 2009, 03:04 AM
|
![]() Tax Collector ![]() Group: Members Posts: 220 Member No.: 488 Joined: 14-May 08 |
I would like to help I have a lot more experience in coding than last time.
Languages I know:
I also have some ideas for weapon icons. Legend: Going to start to learn Proficient Beginner Intermediate @Karmic: If you have any question please PM me! -------------------- |
| Karmic |
Posted: Feb 13 2009, 08:32 AM
|
![]() Main Programmer, Server Chief ![]() Group: HoA Admin Posts: 3.812 Member No.: 6 Joined: 4-August 05 |
Remember the challenge I gave you last time? How's about you give it another chance?
-------------------- |
| Glorifindal |
Posted: Jun 21 2009, 11:31 PM
|
![]() Tax Collector ![]() Group: Members Posts: 220 Member No.: 488 Joined: 14-May 08 |
Could you give me a different challange because I don't really understand it. How about one that envolves a small piece of hoa?
-------------------- |
| Hassat Hunter |
Posted: Jun 28 2009, 03:05 PM
|
![]() Royal Advisor ![]() Group: HoA Developer Posts: 1.574 Member No.: 314 Joined: 26-September 07 |
Eh, the task Karmic gave you was a small part of HoA.
As HoA basically is VB script, doing stuff. |
| Karmic |
Posted: Jun 28 2009, 06:47 PM
|
![]() Main Programmer, Server Chief ![]() Group: HoA Admin Posts: 3.812 Member No.: 6 Joined: 4-August 05 |
Alright, let's try something extremely trivial. Write me a function that takes five parameters and will return the first one that contains a value (ie. isn't null, empty or a zero-length string). If no parameters match that criteria, return whatever you think is appropriate (last parameter, null value, raise error, your call).
-------------------- |
| Glorifindal |
Posted: Jun 29 2009, 05:13 PM
|
||
![]() Tax Collector ![]() Group: Members Posts: 220 Member No.: 488 Joined: 14-May 08 |
Like this?
-------------------- |
||
| Karmic |
Posted: Jun 29 2009, 09:20 PM
|
![]() Main Programmer, Server Chief ![]() Group: HoA Admin Posts: 3.812 Member No.: 6 Joined: 4-August 05 |
Well, no. Remember what I told you about actually testing the code before submitting it? Well, do that.
-------------------- |
| Glorifindal |
Posted: Jun 30 2009, 01:48 AM
|
![]() Tax Collector ![]() Group: Members Posts: 220 Member No.: 488 Joined: 14-May 08 |
What other code would I add to test it on my computer?
-------------------- |
| Karmic |
Posted: Jun 30 2009, 03:00 PM
|
||
![]() Main Programmer, Server Chief ![]() Group: HoA Admin Posts: 3.812 Member No.: 6 Joined: 4-August 05 |
Assuming your computer is capable of displaying ASP pages, just create a small .asp file where you define your function and call it with some parameters. Here, I'll get you started:
First, you'll need to write the code that makes the function work. Then, to test it out, assign different values to the five variables, or juggle around the default ones I suggested. I named the function Coalesce because that's what it's called in most SQL dialects. You're of course free to use another name. -------------------- |
||
| Glorifindal |
Posted: Jul 2 2009, 04:16 PM
|
![]() Tax Collector ![]() Group: Members Posts: 220 Member No.: 488 Joined: 14-May 08 |
Well I haven't finished the challange yet. But in the mean while I think I can help you reskin the Board to make it look closer to the in-game if you would like me too just copy the CSS page.
-------------------- |
| Glorifindal |
Posted: Jul 16 2009, 06:27 PM
|
![]() Tax Collector ![]() Group: Members Posts: 220 Member No.: 488 Joined: 14-May 08 |
Since no one has answered I'll ask again would you want me to reskin this board so it looks more like the in-game board? Karmic if you could Post the code I could I could changed the CSS to make it look closer to the in-game board!
-------------------- |
![]() |
![]() ![]() ![]() |