English source code

3 replies
Goto Page
To the start Previous 1 Next To the start
14.07.11 03:45:41 pm
Up
popeye654
User
Offline Off
help !
i have some problem with stranded II source code
i use Biltz 3d to edit source code
when i finish i want to run this but...
it's said that Function 'openclipboard' not found
what i can do with that
thankyou
I'm not good at English , I'm sorry with your language.
14.07.11 07:42:35 pm
Up
Geez
GAME BANNED
Offline Off
you have to select main source file and then run
21.07.11 08:33:26 am
Up
popeye654
User
Offline Off
i run in main source file
i think it error about Functions.bb
in this line
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
;### New Trim (because of error with "Umlaute" ?.?.? in normal trim functions)
Function ntrim$(txt$)
     While Right(txt$,1)="Clipboard"
          txt$=Left(txt$,Len(txt$)-1)
     Wend
     Return txt$
End Function

;### Copy
Function copy(txt$)
     Local cb_TEXT=1
     If txt$="" Then Return 
     If OpenClipboard(0)
          EmptyClipboard
          SetClipboard cb_TEXT,txt$
          CloseClipboard
     EndIf
End Function

;### Paste
Function paste$()
     Local cb_TEXT=1
     Local txt$=""
     If OpenClipboard(0)
          If ExamineClipboard(cb_TEXT)
          txt$=GetClipboardData$(cb_TEXT)
          EndIf
          CloseClipboard
     EndIf
;     For i=1 To Len(txt)
;          DebugLog Mid(txt,i,1)+" "+Asc(Mid(txt,i,1))
;     Next
     Return txt$
End Function
I'm not good at English , I'm sorry with your language.
21.07.11 01:02:13 pm
Up
DC
Admin
Offline Off
you did not read the included readme. there is a readme with instructions included in the source code download.

you have to do what it says otherwise you will not be able to compile the source code!

README.txt has written:
===============================================================
WTH is that?!
===============================================================

This is the full source code of Stranded II 1.0.0.1*
for the programming language Blitz 3D (www.blitzbasic.com)

*) with some minor changes after the release of 1.0.0.1

Also see:
www.strandedonline.de
www.unrealsoftware.de

===============================================================
How to use
===============================================================

NOTE:
YOU NEED BLITZ3D TO USE THIS (VERSION 1.98 OR HIGHER)!
YOU CAN'T RUN IT WITH THE DEMO VERSION!

- put "source/StrandedII.bb" in your Stranded II dir
- put "source/includes"-dir in your Stranded II dir
- put "userlibs/user32.decls" in the userlibs dir of Blitz 3D
- add the text "-inbb" to the Blitz 3D Program Command Line
- recommended: also add "-win" to the Command Line
- Open and compile "StrandedII.bb"!


===============================================================
License
===============================================================

This code is released under the
Creative Commons
Attribution-Noncommercial-Share Alike 3.0 Germany
License

See the following links for license details:
http://creativecommons.org/licenses/by-nc-sa/3.0/de/deed.en

You are allowed to modify this code as you like!
You are NOT allowed to use this code for commercial projects
without the permission of Peter Schauß / Unreal Software!

Please always link www.unrealsoftware.de in projects
which are using this code!

Please always add notes which say that you used the code of
Stranded II.

Thank you.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
To the start Previous 1 Next To the start